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