Struct darling_core::codegen::FromTypeParamImpl [] [src]

pub struct FromTypeParamImpl<'a> {
    pub base: TraitImpl<'a>,
    pub ident: Option<&'a Ident>,
    pub attrs: Option<&'a Ident>,
    pub bounds: Option<&'a Ident>,
    pub default: Option<&'a Ident>,
    pub attr_names: Vec<&'a str>,
    pub forward_attrs: Option<&'a ForwardAttrs>,
    pub from_ident: bool,
}

Fields

Trait Implementations

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

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more

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

Important traits for &'a mut [u8]
[src]

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

[src]

[src]

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

[src]

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

[src]

[src]

[src]

[src]

Generates the main extraction loop.

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

[src]

Gets the path of the trait being implemented.

[src]

[src]

[src]

impl<'a> From<&'a FromTypeParamOptions> for FromTypeParamImpl<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> !Send for FromTypeParamImpl<'a>

impl<'a> !Sync for FromTypeParamImpl<'a>