Struct darling_core::codegen::TraitImpl [] [src]

pub struct TraitImpl<'a> {
    pub ident: &'a Ident,
    pub generics: &'a Generics,
    pub data: Data<Variant<'a>, Field<'a>>,
    pub default: Option<DefaultExpression<'a>>,
    pub map: Option<&'a Path>,
    pub bound: Option<&'a [WherePredicate]>,
}

Fields

Methods

impl<'a> TraitImpl<'a>
[src]

[src]

Get all declared type parameters.

[src]

Get the type parameters which are used by non-skipped fields.

[src]

Get the type parameters which are used by skipped fields.

impl<'a> TraitImpl<'a>
[src]

[src]

Gets the let declaration for errors accumulated during parsing.

[src]

Gets the check which performs an early return if errors occurred during parsing.

[src]

Trait Implementations

impl<'a> Debug for TraitImpl<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a Core> for TraitImpl<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

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

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