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

pub enum ExplicitSelf_ {
    SelfStatic,
    SelfValue(Ident),
    SelfRegion(Option<Lifetime>, Mutability, Ident),
    SelfExplicit(P<Ty>, Ident),
}

Represents the kind of 'self' associated with a method

Variants

SelfStatic

No self

SelfValue

self

SelfRegion

&'lt self, &'lt mut self

SelfExplicit

self: TYPE

Trait Implementations

Derived Implementations

impl Show for ExplicitSelf_

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

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

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

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

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

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

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

impl Eq for ExplicitSelf_

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ExplicitSelf_

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

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

impl Clone for ExplicitSelf_

fn clone(&self) -> ExplicitSelf_

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