RecordFieldPatternKind

enum RecordFieldPatternKind

The syntax accepted for one field in a record pattern.

Cases

case bind_field(String)

Shorthand that binds a field to a local of the same name.

case equals_field(String, Int, Int, Pattern)

The field name, its token span, then the sub-pattern.

case rest_field

.., allowing fields not named by the pattern.