Struct starlark_map::unordered_map::RawEntryBuilderMut
source · pub struct RawEntryBuilderMut<'a, K, V> { /* private fields */ }
Expand description
Builder for RawEntryMut
.
Implementations§
source§impl<'a, K, V> RawEntryBuilderMut<'a, K, V>
impl<'a, K, V> RawEntryBuilderMut<'a, K, V>
sourcepub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'a, K, V>
pub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'a, K, V>
Find an entry by key.
sourcepub fn from_key_hashed<Q>(self, k: Hashed<&Q>) -> RawEntryMut<'a, K, V>where
Q: Equivalent<K> + ?Sized,
pub fn from_key_hashed<Q>(self, k: Hashed<&Q>) -> RawEntryMut<'a, K, V>where
Q: Equivalent<K> + ?Sized,
Find an entry by hashed key.
sourcepub fn from_hash<F>(
self,
hash: StarlarkHashValue,
is_match: F
) -> RawEntryMut<'a, K, V>
pub fn from_hash<F>( self, hash: StarlarkHashValue, is_match: F ) -> RawEntryMut<'a, K, V>
Find an entry by hash and equality function.
Auto Trait Implementations§
impl<'a, K, V> RefUnwindSafe for RawEntryBuilderMut<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for RawEntryBuilderMut<'a, K, V>
impl<'a, K, V> Sync for RawEntryBuilderMut<'a, K, V>
impl<'a, K, V> Unpin for RawEntryBuilderMut<'a, K, V>
impl<'a, K, V> !UnwindSafe for RawEntryBuilderMut<'a, K, V>
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