pub struct OccupiedEntry<'a, K, V, S = RandomState> { /* private fields */ }Expand description
A view into an occupied entry in a LinkedHashMap.
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)
Removes the entry from the map and returns the key-value pair.
Auto Trait Implementations§
impl<'a, K, V, S> Freeze for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> RefUnwindSafe for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S = RandomState> !Send for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S = RandomState> !Sync for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> Unpin for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S> UnsafeUnpin for OccupiedEntry<'a, K, V, S>
impl<'a, K, V, S = RandomState> !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