pub struct PartitionedHashMap<K, V, S = PlRandomState> { /* private fields */ }
Implementations§
Source§impl<K, V, S> PartitionedHashMap<K, V, S>
impl<K, V, S> PartitionedHashMap<K, V, S>
pub fn new(inner: Vec<HashMap<K, V, S>>) -> Self
pub fn raw_entry_mut(&mut self, h: u64) -> RawEntryBuilderMut<'_, K, V, S>
pub fn raw_entry(&self, h: u64) -> RawEntryBuilder<'_, K, V, S>
pub fn raw_entry_and_partition( &self, h: u64, ) -> (RawEntryBuilder<'_, K, V, S>, usize)
pub fn raw_entry_and_partition_mut( &mut self, h: u64, ) -> (RawEntryBuilderMut<'_, K, V, S>, usize)
pub fn inner(&self) -> &[HashMap<K, V, S>]
pub fn inner_mut(&mut self) -> &mut Vec<HashMap<K, V, S>>
Auto Trait Implementations§
impl<K, V, S> Freeze for PartitionedHashMap<K, V, S>
impl<K, V, S> RefUnwindSafe for PartitionedHashMap<K, V, S>
impl<K, V, S> Send for PartitionedHashMap<K, V, S>
impl<K, V, S> Sync for PartitionedHashMap<K, V, S>
impl<K, V, S> Unpin for PartitionedHashMap<K, V, S>
impl<K, V, S> UnwindSafe for PartitionedHashMap<K, V, S>
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more