Enum rustc_trans::middle::ty::ExplicitSelfCategoryUnstable [-] [+] [src]

pub enum ExplicitSelfCategory {
    StaticExplicitSelfCategory,
    ByValueExplicitSelfCategory,
    ByReferenceExplicitSelfCategory(Region, Mutability),
    ByBoxExplicitSelfCategory,
}

The category of explicit self.

Variants

StaticExplicitSelfCategory
ByValueExplicitSelfCategory
ByReferenceExplicitSelfCategory
ByBoxExplicitSelfCategory

Trait Implementations

impl<'tcx> Repr<'tcx> for ExplicitSelfCategory

fn repr(&self, &ctxt) -> String

Derived Implementations

impl Debug for ExplicitSelfCategory

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

impl PartialEq<ExplicitSelfCategory> for ExplicitSelfCategory

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

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

impl Eq for ExplicitSelfCategory

impl Copy for ExplicitSelfCategory

impl Clone for ExplicitSelfCategory

fn clone(&self) -> ExplicitSelfCategory

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