pub struct RefMut<'a, K: 'a + Hash + Eq, T: 'a, C: 'a + Compare<T>> { /* private fields */ }
Expand description
Structure wrapping a mutable reference to any item on a BinaryHeap
.
This struct
is created by the get_mut
method on BinaryHeap
. See
its documentation for more.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, K, T, C> Freeze for RefMut<'a, K, T, C>
impl<'a, K, T, C> !RefUnwindSafe for RefMut<'a, K, T, C>
impl<'a, K, T, C> Send for RefMut<'a, K, T, C>
impl<'a, K, T, C> !Sync for RefMut<'a, K, T, C>
impl<'a, K, T, C> Unpin for RefMut<'a, K, T, C>
impl<'a, K, T, C> !UnwindSafe for RefMut<'a, K, T, C>
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