Struct binary_heap_plus::PeekMut
source · [−]pub struct PeekMut<'a, T: 'a, C: 'a + Compare<T>> { /* 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, C> RefUnwindSafe for PeekMut<'a, T, C>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, C> Send for PeekMut<'a, T, C>where
C: Send,
T: Send,
impl<'a, T, C> Sync for PeekMut<'a, T, C>where
C: Sync,
T: Sync,
impl<'a, T, C> Unpin for PeekMut<'a, T, C>
impl<'a, T, C> !UnwindSafe for PeekMut<'a, T, C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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