Struct darling_core::codegen::FromDeriveInputImpl [] [src]

pub struct FromDeriveInputImpl<'a> {
    pub ident: Option<&'a Ident>,
    pub generics: Option<&'a Ident>,
    pub vis: Option<&'a Ident>,
    pub attrs: Option<&'a Ident>,
    pub body: Option<&'a Ident>,
    pub base: TraitImpl<'a>,
    pub attr_names: Vec<&'a str>,
    pub forward_attrs: Option<&'a ForwardAttrs>,
    pub from_ident: Option<bool>,
    pub supports: Option<&'a Shape>,
}

Fields

Trait Implementations

impl<'a> ToTokens for FromDeriveInputImpl<'a>
[src]

Write self to the given Tokens. Read more

impl<'a> ExtractAttribute for FromDeriveInputImpl<'a>
[src]

Gets the list of attribute names that should be parsed by the extractor.

Gets the name used by the generated impl to return to the syn item passed as input.

Gets the core from-meta-item loop that should be used on matching attributes.

Generates the main extraction loop.

impl<'a> OuterFromImpl<'a> for FromDeriveInputImpl<'a>
[src]

Gets the path of the trait being implemented.

impl<'a> From<&'a FdiOptions> for FromDeriveInputImpl<'a>
[src]

Performs the conversion.