Struct hashlink::linked_hash_map::RawOccupiedEntryMut
source · pub struct RawOccupiedEntryMut<'a, K, V> { /* private fields */ }
Implementations§
source§impl<'a, K, V> RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> RawOccupiedEntryMut<'a, K, V>
pub fn key(&self) -> &K
pub fn key_mut(&mut self) -> &mut K
pub fn into_key(self) -> &'a mut K
pub fn get(&self) -> &V
pub fn get_mut(&mut self) -> &mut V
pub fn into_mut(self) -> &'a mut V
pub fn get_key_value(&self) -> (&K, &V)
pub fn get_key_value_mut(&mut self) -> (&mut K, &mut V)
pub fn into_key_value(self) -> (&'a mut K, &'a mut V)
pub fn to_back(&mut self)
pub fn to_front(&mut self)
pub fn replace_value(&mut self, value: V) -> V
pub fn replace_key(&mut self, key: K) -> K
pub fn remove(self) -> V
pub fn remove_entry(self) -> (K, V)
Trait Implementations§
impl<'a, K, V> Send for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> Sync for RawOccupiedEntryMut<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> RefUnwindSafe for RawOccupiedEntryMut<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Unpin for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> !UnwindSafe for RawOccupiedEntryMut<'a, K, V>
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