pub struct OccupiedEntry<'a, K, V, P>{ /* private fields */ }Expand description
An entry for a mapping that already exists in the map.
Implementations§
Source§impl<'a, K, V, P> OccupiedEntry<'a, K, V, P>
impl<'a, K, V, P> OccupiedEntry<'a, K, V, P>
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, P> Freeze for OccupiedEntry<'a, K, V, P>where
K: Freeze,
impl<'a, K, V, P> RefUnwindSafe for OccupiedEntry<'a, K, V, P>
impl<'a, K, V, P> Send for OccupiedEntry<'a, K, V, P>
impl<'a, K, V, P> Sync for OccupiedEntry<'a, K, V, P>
impl<'a, K, V, P> Unpin for OccupiedEntry<'a, K, V, P>where
K: Unpin,
impl<'a, K, V, P> !UnwindSafe for OccupiedEntry<'a, K, V, P>
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