Struct syn_helpers::TraitMethod [−][src]
pub struct TraitMethod {
pub method_name: Ident,
pub method_parameters: Vec<FnArg>,
pub method_generics: Vec<GenericParam>,
pub return_type: Option<Type>,
pub build_pair: BuildPair,
}
Expand description
A method under a trait
Fields
method_name: Ident
method_parameters: Vec<FnArg>
method_generics: Vec<GenericParam>
return_type: Option<Type>
build_pair: BuildPair
Whether this method is in takes two of self, for use in comparison