Struct heapless::binary_heap::PeekMut [−][src]
pub struct PeekMut<'a, T, N, K> where
T: Ord,
N: ArrayLength<T>,
K: Kind, { /* fields omitted */ }
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, N, K> Send for PeekMut<'a, T, N, K> where
K: Send,
T: Send,
impl<'a, T, N, K> Sync for PeekMut<'a, T, N, K> where
K: Sync,
T: Sync,
impl<'a, T, N, K> Unpin for PeekMut<'a, T, N, K>
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.