Enum rustc_metadata::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

🔬 This is a nightly-only experimental API. (rustc_private)

Box<T>

🔬 This is a nightly-only experimental API. (rustc_private)

&T

🔬 This is a nightly-only experimental API. (rustc_private)

*T

🔬 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]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'tcx> Hash for PointerKind<'tcx>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<'tcx> Clone for PointerKind<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Eq for PointerKind<'tcx>
[src]

impl<'tcx> Debug for PointerKind<'tcx>
[src]

Formats the value using the given formatter.

impl<'tcx> Copy for PointerKind<'tcx>
[src]