Expand description
Functions to derive darling’s traits from well-formed input, without directly depending
on proc_macro.
Functions§
- from_
attributes - Create tokens for a
darling::FromAttributesimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead. - from_
derive_ input - Create tokens for a
darling::FromDeriveInputimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead. - from_
field - Create tokens for a
darling::FromFieldimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead. - from_
meta - Create tokens for a
darling::FromMetaimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead. - from_
type_ param - Create tokens for a
darling::FromTypeParamimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead. - from_
variant - Create tokens for a
darling::FromVariantimpl from aDeriveInput. If the input cannot produce a valid impl, the returned tokens will contain compile errors instead.