pub struct MutVacantEntry<'a, T>(/* private fields */);Expand description
An entry in a mutable hash table that doesn’t contain any value.
Implementations§
Source§impl<'a, T> MutVacantEntry<'a, T>
impl<'a, T> MutVacantEntry<'a, T>
Sourcepub fn insert(self, value: T) -> MutOccupiedEntry<'a, T>
pub fn insert(self, value: T) -> MutOccupiedEntry<'a, T>
Inserts the given value into this entry.
Auto Trait Implementations§
impl<'a, T> Freeze for MutVacantEntry<'a, T>
impl<'a, T> RefUnwindSafe for MutVacantEntry<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for MutVacantEntry<'a, T>where
T: Send,
impl<'a, T> Sync for MutVacantEntry<'a, T>where
T: Sync,
impl<'a, T> Unpin for MutVacantEntry<'a, T>
impl<'a, T> UnsafeUnpin for MutVacantEntry<'a, T>
impl<'a, T> !UnwindSafe for MutVacantEntry<'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