Struct syn_helpers::TraitMethod[][src]

pub struct TraitMethod {
    pub method_name: Ident,
    pub method_parameters: Vec<FnArg>,
    pub return_type: Option<Type>,
    pub build_pair: BuildPair,
}

Fields

method_name: Identmethod_parameters: Vec<FnArg>return_type: Option<Type>build_pair: BuildPair

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.