pub(crate) struct HashValue(pub(crate) usize);
Expand description
Hash value newtype. Not larger than usize, since anything larger isn’t used for selecting position anyway.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl<Sz> PartialEq<HashValue> for ShortHash<Sz>where
Sz: Size,
impl<Sz> PartialEq<HashValue> for ShortHash<Sz>where
Sz: Size,
impl Copy for HashValue
Auto Trait Implementations§
impl Freeze for HashValue
impl RefUnwindSafe for HashValue
impl Send for HashValue
impl Sync for HashValue
impl Unpin for HashValue
impl UnwindSafe for HashValue
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