pub struct OpenHashMap { /* private fields */ }Expand description
An open-addressing hash map with linear probing (i64 → i64).
Implementations§
Source§impl OpenHashMap
impl OpenHashMap
Sourcepub fn with_capacity(cap: usize) -> Self
pub fn with_capacity(cap: usize) -> Self
Create with a specific initial capacity.
Sourcepub fn load_factor(&self) -> f32
pub fn load_factor(&self) -> f32
Load factor (live + deleted / capacity).
Trait Implementations§
Source§impl Clone for OpenHashMap
impl Clone for OpenHashMap
Source§fn clone(&self) -> OpenHashMap
fn clone(&self) -> OpenHashMap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenHashMap
impl Debug for OpenHashMap
Auto Trait Implementations§
impl Freeze for OpenHashMap
impl RefUnwindSafe for OpenHashMap
impl Send for OpenHashMap
impl Sync for OpenHashMap
impl Unpin for OpenHashMap
impl UnsafeUnpin for OpenHashMap
impl UnwindSafe for OpenHashMap
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