Struct imbl::hashmap::OccupiedEntry
source · pub struct OccupiedEntry<'a, K, V, S>{ /* private fields */ }
Expand description
An entry for a mapping that already exists in the map.
Implementations§
source§impl<'a, K, V, S> OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> OccupiedEntry<'a, K, V, S>
sourcepub fn remove_entry(self) -> (K, V)
pub fn remove_entry(self) -> (K, V)
Remove this entry from the map and return the removed mapping.
Auto Trait Implementations§
impl<'a, K, V, S> Freeze for OccupiedEntry<'a, K, V, S>where
K: Freeze,
impl<'a, K, V, S> RefUnwindSafe for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> Send for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> Sync for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> Unpin for OccupiedEntry<'a, K, V, S>where
K: Unpin,
impl<'a, K, V, S> !UnwindSafe for OccupiedEntry<'a, 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