#[repr(C)]pub struct MapRecord<K, V> {
pub key: K,
pub value: V,
pub hash: u64,
}Expand description
One gathered map entry.
Scatter sites store the hash next to the key and value so map initialization only needs to place rows into metadata slots.
Fields§
§key: KThe key of the record.
value: VThe value of the record.
hash: u64The hash of the record.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for MapRecord<K, V>
impl<K, V> RefUnwindSafe for MapRecord<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for MapRecord<K, V>
impl<K, V> Sync for MapRecord<K, V>
impl<K, V> Unpin for MapRecord<K, V>
impl<K, V> UnsafeUnpin for MapRecord<K, V>where
K: UnsafeUnpin,
V: UnsafeUnpin,
impl<K, V> UnwindSafe for MapRecord<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