Struct syntax::ast::MethodExperimental [-]  [+] [src]

pub struct Method {
    pub attrs: Vec<Attribute>,
    pub id: NodeId,
    pub span: Span,
    pub node: Method_,
}

Fields

attrs
id
span
node

Trait Implementations

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

Derived Implementations

impl Show for Method

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer> Hash<__S> for Method

fn hash(&self, __arg_0: &mut __S)

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Method

fn decode(__arg_0: &mut __D) -> Result<Method, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Method

fn encode(&self, __arg_0: &mut __S) -> Result<(), __E>

impl Eq for Method

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Method

fn eq(&self, __arg_0: &Method) -> bool

fn ne(&self, __arg_0: &Method) -> bool

impl Clone for Method

fn clone(&self) -> Method

fn clone_from(&mut self, source: &Self)