pub struct Interned<T>(usize, PhantomData<*const T>);
Tuple Fields§
§0: usize
§1: PhantomData<*const T>
Trait Implementations§
source§impl<T: Internable + Ord> Ord for Interned<T>
impl<T: Internable + Ord> Ord for Interned<T>
source§impl<T: Internable + PartialOrd> PartialOrd for Interned<T>
impl<T: Internable + PartialOrd> PartialOrd for Interned<T>
impl<T> Copy for Interned<T>
impl<T> Eq for Interned<T>
impl<T> Send for Interned<T>
impl<T> Sync for Interned<T>
Auto Trait Implementations§
impl<T> Freeze for Interned<T>
impl<T> RefUnwindSafe for Interned<T>where
T: RefUnwindSafe,
impl<T> Unpin for Interned<T>
impl<T> UnwindSafe for Interned<T>where
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes