pub struct PeekMut<'a, T, K, const N: usize>where
T: Ord,
K: Kind,{ /* 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>where
K: Send,
T: Send,
impl<'a, T, K, const N: usize> Sync for PeekMut<'a, T, K, N>where
K: Sync,
T: Sync,
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more