Struct im_rc::hashmap::OccupiedEntry
source · [−]pub struct OccupiedEntry<'a, K, V, S> where
K: Hash + Eq + Clone,
V: Clone,
S: BuildHasher, { /* private fields */ }
Expand description
An entry for a mapping that already exists in the map.
Implementations
sourceimpl<'a, K, V, S> OccupiedEntry<'a, K, V, S> where
K: 'a + Hash + Eq + Clone,
V: 'a + Clone,
S: 'a + BuildHasher,
impl<'a, K, V, S> OccupiedEntry<'a, K, V, S> where
K: 'a + Hash + Eq + Clone,
V: 'a + Clone,
S: 'a + BuildHasher,
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> RefUnwindSafe for OccupiedEntry<'a, K, V, S> where
K: RefUnwindSafe,
S: RefUnwindSafe,
V: RefUnwindSafe,
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
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