Struct heapless::binary_heap::PeekMut
source · pub struct PeekMut<'a, T, K, const N: usize>{ /* private fields */ }
Expand description
Structure wrapping a mutable reference to the greatest item on a
BinaryHeap
.
This struct
is created by BinaryHeap::peek_mut
.
See its documentation for more.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, K, const N: usize> Freeze for PeekMut<'a, T, K, N>
impl<'a, T, K, const N: usize> RefUnwindSafe for PeekMut<'a, T, K, N>where
K: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, K, const N: usize> Send for PeekMut<'a, T, K, N>
impl<'a, T, K, const N: usize> Sync for PeekMut<'a, T, K, N>
impl<'a, T, K, const N: usize> Unpin for PeekMut<'a, T, K, N>
impl<'a, T, K, const N: usize> !UnwindSafe for PeekMut<'a, T, K, N>
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