Enum rustc_lint::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> PartialEq<PointerKind<'tcx>> 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> Hash for PointerKind<'tcx>[src]
fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher
🔬 This is a nightly-only experimental API. (
rustc_private)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> Eq for PointerKind<'tcx>[src]
impl<'tcx> Debug for PointerKind<'tcx>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
🔬 This is a nightly-only experimental API. (
rustc_private)