Struct im_rc::ordmap::OccupiedEntry
source · [−]Expand description
An entry for a mapping that already exists in the map.
Implementations
sourceimpl<'a, K, V> OccupiedEntry<'a, K, V> where
K: 'a + Ord + Clone,
V: 'a + Clone,
impl<'a, K, V> OccupiedEntry<'a, K, V> where
K: 'a + Ord + Clone,
V: 'a + Clone,
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> RefUnwindSafe for OccupiedEntry<'a, K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> !Send for OccupiedEntry<'a, K, V>
impl<'a, K, V> !Sync for OccupiedEntry<'a, K, V>
impl<'a, K, V> Unpin for OccupiedEntry<'a, K, V> where
K: Unpin,
impl<'a, K, V> !UnwindSafe for OccupiedEntry<'a, K, V>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more