Struct rustc_ap_rustc_data_structures::tagged_ptr::TaggedPtr [−][src]
pub struct TaggedPtr<P, T, const COMPARE_PACKED: bool> where
P: Pointer,
T: Tag, { /* fields omitted */ }
Expand description
A TaggedPtr implementing Drop
.
If COMPARE_PACKED
is true, then the pointers will be compared and hashed without
unpacking. Otherwise we don’t implement PartialEq/Eq/Hash; if you want that,
wrap the TaggedPtr.
Implementations
Trait Implementations
impl<P, T, HCX, const COMPARE_PACKED: bool> HashStable<HCX> for TaggedPtr<P, T, COMPARE_PACKED> where
P: Pointer + HashStable<HCX>,
T: Tag + HashStable<HCX>,
[src]
impl<P, T, HCX, const COMPARE_PACKED: bool> HashStable<HCX> for TaggedPtr<P, T, COMPARE_PACKED> where
P: Pointer + HashStable<HCX>,
T: Tag + HashStable<HCX>,
[src]Auto Trait Implementations
impl<P, T, const COMPARE_PACKED: bool> RefUnwindSafe for TaggedPtr<P, T, COMPARE_PACKED> where
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<P, T, const COMPARE_PACKED: bool> Send for TaggedPtr<P, T, COMPARE_PACKED> where
P: Send,
T: Send,
impl<P, T, const COMPARE_PACKED: bool> Sync for TaggedPtr<P, T, COMPARE_PACKED> where
P: Sync,
T: Sync,
impl<P, T, const COMPARE_PACKED: bool> Unpin for TaggedPtr<P, T, COMPARE_PACKED> where
P: Unpin,
T: Unpin,
impl<P, T, const COMPARE_PACKED: bool> UnwindSafe for TaggedPtr<P, T, COMPARE_PACKED> where
P: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V