Structs§
- A pattern that destructures a specific variant of an enum to its inner value.
- A pattern that destructures a fixed size array into its elements.
- A pattern that destructures a struct to its fields.
- A pattern that destructures a tuple to its fields.
- A pattern that binds the matched value to a variable.
- Query a function for variables of patterns defined within it.
Enums§
- Semantic representation of a Pattern. A pattern is a way to “destructure” values. A pattern may introduce new variables that are bound to inner values of a specific value. For example, a tuple pattern destructures a tuple and may result in new variables for an elements of that tuple. This is used both in let statements and match statements.
Traits§
- Polymorphic container of
Pattern
objects used for querying pattern variables.