Crate parsel_derive
source ·Expand description
Custom #[derive]
proc-macros for Parsel.
See the documentation of the main crate for more info.
Derive Macros§
- Implements the
core::fmt::Display
trait for the annotated type by forwarding to itsToTokens
implementation. - Implements the
core::str::FromStr
trait for the annotated type by forwarding to itsParse
implementation. - Implements the
syn::parse::Parse
trait for the annotated type. - Implements the
quote::ToTokens
trait for the annotated type.