Struct syn_helpers::Trait [−][src]
pub struct Trait {
pub name: Path,
pub generic_parameters: Vec<GenericParam>,
pub methods: Vec<TraitMethod>,
}
Expand description
A representation of trait to be implemented
Fields
name: Path
generic_parameters: Vec<GenericParam>
methods: Vec<TraitMethod>