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