Enum syntax::ast::Method_Unstable [-] [+] [src]

pub enum Method_ {
    MethDecl(Ident, Generics, Abi, ExplicitSelf, Unsafety, P<FnDecl>, P<Block>, Visibility),
    MethMac(Mac),
}

Variants

MethDecl

Represents a method declaration

MethMac

Represents a macro in method position

Trait Implementations

Derived Implementations

impl Debug for Method_

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

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_

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Method_, Error>

impl Encodable for Method_

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

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)