Expand description
Utility types for working with the AST.
Structs§
- Fields
- Equivalent to
syn::Fields, but replaces the AST element with a generic. - Generics
- A mirror of the
syn::Genericstype which can contain arbitrary representations of params and where clauses.
Enums§
- Data
- A struct or enum body.
- Generic
Param - A mirror of
syn::GenericParamwhich is generic over all its contents. - Nested
Meta - Style
Traits§
- Generic
Param Ext - Extension trait for
GenericParamto support getting values by variant.