Enum rustc::middle::ty::ExplicitSelfCategoryExperimental [-]  [+] [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 Show for ExplicitSelfCategory

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

impl PartialEq for ExplicitSelfCategory

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

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

impl Eq for ExplicitSelfCategory

fn assert_receiver_is_total_eq(&self)

impl Copy for ExplicitSelfCategory

impl Clone for ExplicitSelfCategory

fn clone(&self) -> ExplicitSelfCategory

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