pub struct RawOccupiedEntryMut<'a, K, V> { /* private fields */ }Expand description
Handle to an existing entry, returned by RawEntryMut::Occupied.
Implementations§
Source§impl<'a, K, V> RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> RawOccupiedEntryMut<'a, K, V>
Sourcepub fn get_mut(&mut self) -> &mut V
pub fn get_mut(&mut self) -> &mut V
Mutable access to the stored value (borrow tied to &mut self).
Auto Trait Implementations§
impl<'a, K, V> !UnwindSafe for RawOccupiedEntryMut<'a, K, V>
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> Send for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> Sync for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> Unpin for RawOccupiedEntryMut<'a, K, V>
impl<'a, K, V> UnsafeUnpin 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