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 PartialEq for HashValue
impl PartialEq for HashValue
impl Copy for HashValue
impl StructuralPartialEq 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