pub struct PeekMinMut<'a, T: 'a + Ord> { /* private fields */ }
Expand description
Structure wrapping a mutable reference to the minimum item on a
MinMaxHeap
.
This struct
is created by the peek_min_mut
method on MinMaxHeap
. See
its documentation for more.
Implementations§
Trait Implementations§
Source§impl<'a, T: Ord> Deref for PeekMinMut<'a, T>
impl<'a, T: Ord> Deref for PeekMinMut<'a, T>
Source§impl<'a, T: Ord> DerefMut for PeekMinMut<'a, T>
impl<'a, T: Ord> DerefMut for PeekMinMut<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for PeekMinMut<'a, T>
impl<'a, T> RefUnwindSafe for PeekMinMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PeekMinMut<'a, T>where
T: Send,
impl<'a, T> Sync for PeekMinMut<'a, T>where
T: Sync,
impl<'a, T> Unpin for PeekMinMut<'a, T>
impl<'a, T> !UnwindSafe for PeekMinMut<'a, T>
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