Struct syntax::ast::MethodUnstable
[-] [+]
[src]
pub struct Method { pub attrs: Vec<Attribute>, pub id: NodeId, pub span: Span, pub node: Method_, }
Fields
attrs | |
id | |
span | |
node |
pub struct Method { pub attrs: Vec<Attribute>, pub id: NodeId, pub span: Span, pub node: Method_, }
attrs | |
id | |
span | |
node |
impl PostExpansionMethod for Method
fn pe_ident<'a>(&'a self) -> Ident
fn pe_generics<'a>(&'a self) -> &'a Generics
fn pe_abi<'a>(&'a self) -> Abi
fn pe_explicit_self<'a>(&'a self) -> &'a ExplicitSelf
fn pe_unsafety<'a>(&'a self) -> Unsafety
fn pe_fn_decl<'a>(&'a self) -> &'a FnDecl
fn pe_body<'a>(&'a self) -> &'a Block
fn pe_vis<'a>(&'a self) -> Visibility
impl Debug for Method
impl Hash for Method
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Decodable for Method
impl Encodable for Method
impl Eq for Method
fn assert_receiver_is_total_eq(&self)
impl PartialEq for Method
impl Clone for Method
fn clone(&self) -> Method
fn clone_from(&mut self, source: &Self)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).