Struct std::collections::binary_heap::PeekMut
1.12.0 · source · pub struct PeekMut<'a, T, A = Global>where
T: 'a + Ord,
A: Allocator,{ /* 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, A> RefUnwindSafe for PeekMut<'a, T, A>where A: RefUnwindSafe, T: RefUnwindSafe,
impl<'a, T, A> Send for PeekMut<'a, T, A>where A: Send, T: Send,
impl<'a, T, A> Sync for PeekMut<'a, T, A>where A: Sync, T: Sync,
impl<'a, T, A> Unpin for PeekMut<'a, T, A>
impl<'a, T, A = Global> !UnwindSafe for PeekMut<'a, T, A>
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