Enum rustc::middle::mem_categorization::PointerKindUnstable [-]  [+] [src]

pub enum PointerKind {
    Unique,
    BorrowedPtr(BorrowKind, Region),
    UnsafePtr(Mutability),
    Implicit(BorrowKind, Region),
}

Variants

Unique

Box<T>

BorrowedPtr

&T

UnsafePtr

*T

Implicit

Implicit deref of the &T that results from an overloaded index [].

Trait Implementations

impl<'tcx> Repr<'tcx> for PointerKind

fn repr(&self, tcx: &ctxt<'tcx>) -> String

Derived Implementations

impl Show for PointerKind

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

impl<__S: Writer + Hasher> Hash<__S> for PointerKind

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

impl Eq for PointerKind

fn assert_receiver_is_total_eq(&self)

impl PartialEq for PointerKind

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

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

impl Copy for PointerKind

impl Clone for PointerKind

fn clone(&self) -> PointerKind

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