Expand description
Macros§
- convert_
parsed_ from_ meta_ list - Implement the
ConvertParsed<Type = syn::MetaList>
trait for the type.
Structs§
- Attrs
Value - Data structure to hold instance implemented
FromAttr
trait and parsed attributes. - Map
- Represents a map parsed from the
meta
. - Path
Value - Represents the path-value pair parsed from the
meta
.
Enums§
- Flag
OrValue - Represents the 3 cases parsed from the
meta
.
Traits§
- Attribute
Ident - Helper trait for holding idents.
- Convert
Parsed - Helper trait to convert syn types implementing
Parse
likeLitStr
to rust types likeString
- From
Attr - Used for conversion from
Attribute
s,MetaList
,TokenStream
to values. - Parse
Meta - Used to enable parsing of each
meta
.
Derive Macros§
- From
Attr - Generate an implementation of
FromAttr
trait. - From
Ident - Generate an implementation of
ConvertParsed<Type = syn::Ident>
trait.