Struct staticvec::StaticHeapPeekMut [−][src]
Expand description
A struct wrapping a mutable reference to the greatest (or “maximal”) item in a StaticHeap
.
This struct is created by the peek_mut
method on StaticHeap
. See
its documentation for more.
Implementations
impl<'a, T: Ord, const N: usize> StaticHeapPeekMut<'a, T, N>
[src]
impl<'a, T: Ord, const N: usize> StaticHeapPeekMut<'a, T, N>
[src]pub fn pop(this: StaticHeapPeekMut<'a, T, N>) -> T
[src]
pub fn pop(this: StaticHeapPeekMut<'a, T, N>) -> T
[src]Removes the peeked value from the heap and returns it.
Trait Implementations
impl<T: Ord, const N: usize> Deref for StaticHeapPeekMut<'_, T, N>
[src]
impl<T: Ord, const N: usize> Deref for StaticHeapPeekMut<'_, T, N>
[src]impl<T: Ord, const N: usize> DerefMut for StaticHeapPeekMut<'_, T, N>
[src]
impl<T: Ord, const N: usize> DerefMut for StaticHeapPeekMut<'_, T, N>
[src]Auto Trait Implementations
impl<'a, T, const N: usize> RefUnwindSafe for StaticHeapPeekMut<'a, T, N> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, const N: usize> Send for StaticHeapPeekMut<'a, T, N> where
T: Send,
T: Send,
impl<'a, T, const N: usize> Sync for StaticHeapPeekMut<'a, T, N> where
T: Sync,
T: Sync,