pub struct Key {
area: [u64; 350],
}
Expand description
New type wrapper so that we can use a custom hash function.
Fields§
§area: [u64; 350]
Trait Implementations§
source§impl Hash for Key
impl Hash for Key
Hash only two cells as a reasonable tradeoff between speed and collision resistance.
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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