pub struct RefMut<'a, K, V>where
K: Ord,{ /* private fields */ }Expand description
Exclusive guard over the (key, value) pair of an element identified by
index. Mutating the guard marks the heap as dirty; on drop the heap is
re-heapified.
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, V> Freeze for RefMut<'a, K, V>
impl<'a, K, V> RefUnwindSafe for RefMut<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for RefMut<'a, K, V>
impl<'a, K, V> Sync for RefMut<'a, K, V>
impl<'a, K, V> Unpin for RefMut<'a, K, V>
impl<'a, K, V> UnsafeUnpin for RefMut<'a, K, V>
impl<'a, K, V> !UnwindSafe for RefMut<'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