pub(crate) struct ShortHash<Sz>(pub(crate) usize, pub(crate) PhantomData<Sz>);
Expand description
A possibly truncated hash value.
Tuple Fields§
§0: usize
§1: PhantomData<Sz>
Implementations§
Trait Implementations§
impl<Sz> Copy for ShortHash<Sz>
Auto Trait Implementations§
impl<Sz> Freeze for ShortHash<Sz>
impl<Sz> RefUnwindSafe for ShortHash<Sz>where
Sz: RefUnwindSafe,
impl<Sz> Send for ShortHash<Sz>where
Sz: Send,
impl<Sz> Sync for ShortHash<Sz>where
Sz: Sync,
impl<Sz> Unpin for ShortHash<Sz>where
Sz: Unpin,
impl<Sz> UnwindSafe for ShortHash<Sz>where
Sz: UnwindSafe,
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
)