Enum rustc::middle::mem_categorization::PointerKind
[−]
[src]
pub enum PointerKind {
Unique,
BorrowedPtr(BorrowKind, Region),
UnsafePtr(Mutability),
Implicit(BorrowKind, Region),
}Unstable (
rustc_private)Variants
UniqueUnstable (
rustc_private)Box<T>
BorrowedPtr(BorrowKind, Region)Unstable (
rustc_private)&T
UnsafePtr(Mutability)Unstable (
rustc_private)*T
Implicit(BorrowKind, Region)Unstable (
rustc_private)Implicit deref of the &T that results from an overloaded index [].
Trait Implementations
impl Debug for PointerKind[src]
Derived Implementations
impl Hash for PointerKind[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Eq for PointerKind[src]
impl PartialEq for PointerKind[src]
fn eq(&self, __arg_0: &PointerKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PointerKind) -> bool
This method tests for !=.
impl Copy for PointerKind[src]
impl Clone for PointerKind[src]
fn clone(&self) -> PointerKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more