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 Debug for PointerKind

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

impl Hash for PointerKind

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for PointerKind

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)