Expand description
Re-exports§
pub use proc_macro2;
pub use quote;
pub use syn;
Modules§
- codegen
- Code generation implementations.
- ext
- Extensions for
syn
types. - field
- Batteries for working with struct fields.
- has
- Abstraction over
syn
types containing something. - parse
- Batteries for
syn::parse
. - spanned
- Batteries for
Span
andsyn::spanned
.
Structs§
- Required
Container
requiring a field to have a value mandatory.- Spanning
- Wrapper for non-
Spanned
types to hold theirSpan
.
Traits§
- DataExt
- Extension of a
syn::Data
. - Ident
Ext - Extension of a
syn::Ident
. - Parse
Attrs Parse
ing ofsyn::Attribute
s into a custom defined struct.- Parse
Buffer Ext - Extension of a
syn::parse::ParseBuffer
providing common function widely used by this crate for parsing. - ToTokens
- Types that can be interpolated inside a
quote!
invocation.