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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes