Enum rustc::middle::mem_categorization::PointerKind
[−]
[src]
pub enum PointerKind<'tcx> {
Unique,
BorrowedPtr(BorrowKind, Region<'tcx>),
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?
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
Trait Implementations
impl<'tcx> Clone for PointerKind<'tcx>[src]
impl<'tcx> Clone for PointerKind<'tcx>fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'tcx> Copy for PointerKind<'tcx>[src]
impl<'tcx> Copy for PointerKind<'tcx>impl<'tcx> Debug for PointerKind<'tcx>[src]
impl<'tcx> Debug for PointerKind<'tcx>fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'tcx> PartialEq for PointerKind<'tcx>[src]
impl<'tcx> PartialEq for PointerKind<'tcx>fn eq(&self, __arg_0: &PointerKind<'tcx>) -> bool[src]
fn eq(&self, __arg_0: &PointerKind<'tcx>) -> boolThis 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]
fn ne(&self, __arg_0: &PointerKind<'tcx>) -> boolThis method tests for !=.
impl<'tcx> Eq for PointerKind<'tcx>[src]
impl<'tcx> Eq for PointerKind<'tcx>impl<'tcx> Hash for PointerKind<'tcx>[src]
impl<'tcx> Hash for PointerKind<'tcx>Auto Trait Implementations
impl<'tcx> !Send for PointerKind<'tcx>
impl<'tcx> !Send for PointerKind<'tcx>impl<'tcx> !Sync for PointerKind<'tcx>
impl<'tcx> !Sync for PointerKind<'tcx>