pub struct Datum<K, V>{
pub h: u64,
pub k: K,
pub v: V,
}
Expand description
A stored K/V in the hash bucket.
Fields§
§h: u64
The hash of K.
k: K
The K in K:V.
v: V
The V in K:V.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Datum<K, V>
impl<K, V> RefUnwindSafe for Datum<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Datum<K, V>
impl<K, V> Sync for Datum<K, V>
impl<K, V> Unpin for Datum<K, V>
impl<K, V> UnwindSafe for Datum<K, V>where
K: UnwindSafe,
V: 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