Struct syntax::ast::TypeMethodUnstable
[-] [+]
[src]
pub struct TypeMethod { pub ident: Ident, pub attrs: Vec<Attribute>, pub unsafety: Unsafety, pub abi: Abi, pub decl: P<FnDecl>, pub generics: Generics, pub explicit_self: ExplicitSelf, pub id: NodeId, pub span: Span, pub vis: Visibility, }
Represents a required method in a trait declaration, one without a default implementation
Fields
ident | |
attrs | |
unsafety | |
abi | |
decl | |
generics | |
explicit_self | |
id | |
span | |
vis |