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