[−][src]Trait darling_core::FromDeriveInput
Creates an instance by parsing an entire proc-macro derive input,
including the, identity, generics, and visibility of the type.
This trait should either be derived or manually implemented by a type
in the proc macro crate which is directly using darling. It is unlikely
that these implementations will be reusable across crates.
Required methods
fn from_derive_input(input: &DeriveInput) -> Result<Self>
Create an instance from syn::DeriveInput, or return an error.
Implementations on Foreign Types
impl FromDeriveInput for ()[src]
impl FromDeriveInput for ()fn from_derive_input(_: &DeriveInput) -> Result<Self> | [src] |
impl FromDeriveInput for DeriveInput[src]
impl FromDeriveInput for DeriveInputfn from_derive_input(input: &DeriveInput) -> Result<Self> | [src] |
Implementors
impl FromDeriveInput for Ignored[src]
impl FromDeriveInput for Ignoredfn from_derive_input(_: &DeriveInput) -> Result<Self> | [src] |
impl<T: FromDeriveInput> FromDeriveInput for WithOriginal<T, DeriveInput>[src]
impl<T: FromDeriveInput> FromDeriveInput for WithOriginal<T, DeriveInput>fn from_derive_input(value: &DeriveInput) -> Result<Self> | [src] |