pub struct RawEntryBuilderMut<'map, K, V, const N: usize, S>(/* private fields */);
Expand description
A builder for computing where in a [HashMap
] a key-value pair would be stored.
See the HashMap::raw_entry_mut
docs for usage examples.
Implementations§
Source§impl<'map, K, V, const N: usize, S> RawEntryBuilderMut<'map, K, V, N, S>where
S: BuildHasher,
impl<'map, K, V, const N: usize, S> RawEntryBuilderMut<'map, K, V, N, S>where
S: BuildHasher,
Sourcepub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'map, K, V, N, S>
pub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'map, K, V, N, S>
Creates a RawEntryMut
from the given key.
Sourcepub fn from_key_hashed_nocheck<Q>(
self,
hash: u64,
k: &Q,
) -> RawEntryMut<'map, K, V, N, S>
pub fn from_key_hashed_nocheck<Q>( self, hash: u64, k: &Q, ) -> RawEntryMut<'map, K, V, N, S>
Creates a RawEntryMut
from the given key and its hash.
Source§impl<'map, K, V, const N: usize, S> RawEntryBuilderMut<'map, K, V, N, S>where
S: BuildHasher,
impl<'map, K, V, const N: usize, S> RawEntryBuilderMut<'map, K, V, N, S>where
S: BuildHasher,
Trait Implementations§
Source§impl<K, V, const N: usize, S> Debug for RawEntryBuilderMut<'_, K, V, N, S>
impl<K, V, const N: usize, S> Debug for RawEntryBuilderMut<'_, K, V, N, S>
Source§impl<'map, K, V, const N: usize, S> From<RawEntryBuilderMut<'map, K, V, S>> for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> From<RawEntryBuilderMut<'map, K, V, S>> for RawEntryBuilderMut<'map, K, V, N, S>
Source§fn from(m: RawEntryBuilderMut<'map, K, V, S>) -> Self
fn from(m: RawEntryBuilderMut<'map, K, V, S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'map, K, V, const N: usize, S> Freeze for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> RefUnwindSafe for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> Send for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> Sync for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> Unpin for RawEntryBuilderMut<'map, K, V, N, S>
impl<'map, K, V, const N: usize, S> !UnwindSafe for RawEntryBuilderMut<'map, K, V, N, 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