#[repr(C)]pub struct SetItem {
pub key: u64,
pub hash: u32,
}Expand description
One slot in the open-addressing table. (b3SetItem)
Empty slots have hash == 0 (and typically key == 0). Occupied slots store
both the key and its Murmur-mixed hash so grow/remove can reuse it.
Fields§
§key: u64§hash: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetItem
impl RefUnwindSafe for SetItem
impl Send for SetItem
impl Sync for SetItem
impl Unpin for SetItem
impl UnsafeUnpin for SetItem
impl UnwindSafe for SetItem
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