Struct std::collections::binary_heap::PeekMut
1.12.0 · source · [−]pub struct PeekMut<'a, T> where
T: 'a + Ord, { /* private fields */ }
Expand description
Structure wrapping a mutable reference to the greatest item on a
BinaryHeap
.
This struct
is created by the peek_mut
method on BinaryHeap
. See
its documentation for more.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for PeekMut<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for PeekMut<'a, T> where
T: Send,
impl<'a, T> Sync for PeekMut<'a, T> where
T: Sync,
impl<'a, T> Unpin for PeekMut<'a, T>
impl<'a, T> !UnwindSafe for PeekMut<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more