Module ast

Source
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::Generics type which can contain arbitrary representations of params and where clauses.

Enums§

Data
A struct or enum body.
GenericParam
A mirror of syn::GenericParam which is generic over all its contents.
NestedMeta
Style

Traits§

GenericParamExt
Extension trait for GenericParam to support getting values by variant.