pub struct PeekMut<'a, T, K, const N: usize> where
T: Ord,
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.
impl<'a, T, K, const N: usize> PeekMut<'a, T, K, N> where
T: Ord,
K: Kind,
Removes the peeked value from the heap and returns it.
impl<T, K, const N: usize> Deref for PeekMut<'_, T, K, N> where
T: Ord,
K: Kind,
The resulting type after dereferencing.
Mutably dereferences the value.
impl<T, K, const N: usize> Drop for PeekMut<'_, T, K, N> where
T: Ord,
K: Kind,
Executes the destructor for this type. Read more
impl<'a, T, K, const N: usize> Unpin for PeekMut<'a, T, K, N>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.