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<K, V, S> Send for RawOccupiedEntryMut<'_, K, V, S>
impl<K, V, S> Sync for RawOccupiedEntryMut<'_, 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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes