pub struct RawOccupiedEntryMut<'a, K, V, S> { /* private fields */ }
Implementations§
Source§impl<'a, K, V, S> RawOccupiedEntryMut<'a, K, V, S>
impl<'a, K, V, S> RawOccupiedEntryMut<'a, K, V, S>
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)
Sourcepub fn cursor_mut(self) -> CursorMut<'a, K, V, S>
pub fn cursor_mut(self) -> CursorMut<'a, K, V, S>
Returns a CursorMut
over the current entry.
Trait Implementations§
impl<'a, K, V, S> Send for RawOccupiedEntryMut<'a, K, V, S>
impl<'a, K, V, S> Sync for RawOccupiedEntryMut<'a, K, V, S>
Auto Trait Implementations§
impl<'a, K, V, S> Freeze for RawOccupiedEntryMut<'a, K, V, S>
impl<'a, K, V, S> RefUnwindSafe for RawOccupiedEntryMut<'a, K, V, S>
impl<'a, K, V, S> Unpin for RawOccupiedEntryMut<'a, K, V, S>
impl<'a, K, V, S> !UnwindSafe for RawOccupiedEntryMut<'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