Enum rustc::middle::mem_categorization::PointerKind
[−]
[src]
pub enum PointerKind<'tcx> {
Unique,
BorrowedPtr(BorrowKind, &'tcx Region),
UnsafePtr(Mutability),
Implicit(BorrowKind, &'tcx Region),
}🔬 This is a nightly-only experimental API. (
rustc_private)Variants
Unique🔬 This is a nightly-only experimental API. (
rustc_private)Box<T>
BorrowedPtr(BorrowKind, &'tcx Region)🔬 This is a nightly-only experimental API. (
rustc_private)&T
UnsafePtr(Mutability)🔬 This is a nightly-only experimental API. (
rustc_private)*T
Implicit(BorrowKind, &'tcx Region)🔬 This is a nightly-only experimental API. (
rustc_private)Implicit deref of the &T that results from an overloaded index [].
Trait Implementations
impl<'tcx> Clone for PointerKind<'tcx>[src]
fn clone(&self) -> PointerKind<'tcx>
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
impl<'tcx> Copy for PointerKind<'tcx>[src]
impl<'tcx> PartialEq for PointerKind<'tcx>[src]
fn eq(&self, __arg_0: &PointerKind<'tcx>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PointerKind<'tcx>) -> bool
This method tests for !=.
impl<'tcx> Eq for PointerKind<'tcx>[src]
impl<'tcx> Hash for PointerKind<'tcx>[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.