Enum rustc::middle::mem_categorization::PointerKind[src]

pub enum PointerKind {
    OwnedPtr,
    GcPtr,
    BorrowedPtr(BorrowKind, Region),
    UnsafePtr(Mutability),
}

Variants

OwnedPtr
GcPtr
BorrowedPtr
UnsafePtr

Trait Implementations

Derived Implementations

impl<__S: Writer> 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 Clone for PointerKind

fn clone(&self) -> PointerKind

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