Enum rustc::middle::mem_categorization::PointerKind
[−]
[src]
pub enum PointerKind<'tcx> {
Unique,
BorrowedPtr(BorrowKind, Region<'tcx>),
UnsafePtr(Mutability),
Implicit(BorrowKind, Region<'tcx>),
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Unique🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Box<T>
BorrowedPtr(BorrowKind, Region<'tcx>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
&T
UnsafePtr(Mutability)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
*T
Implicit(BorrowKind, Region<'tcx>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
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>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'tcx> Copy for PointerKind<'tcx>[src]
impl<'tcx> Debug for PointerKind<'tcx>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'tcx> PartialEq for PointerKind<'tcx>[src]
fn eq(&self, __arg_0: &PointerKind<'tcx>) -> bool[src]
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[src]
This method tests for !=.