Enum syntax::ast::Method_Experimental [-]  [+] [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 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)