pub struct Datum<K, V>{
pub k: K,
pub v: V,
}
Expand description
A stored K/V in the hash bucket.
Fields§
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)