Struct std::collections::binary_heap::PeekMut [] [src]

pub struct PeekMut<'a, T> where T: 'a + Ord {
    // some fields omitted
}
Unstable (binary_heap_peek_mut #34392)

A container object that represents the result of the peek_mut() method on BinaryHeap. See its documentation for details.

Trait Implementations

impl<'a, T> Drop for PeekMut<'a, T> where T: Ord

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl<'a, T> Deref for PeekMut<'a, T> where T: Ord

type Target = T

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

impl<'a, T> DerefMut for PeekMut<'a, T> where T: Ord

fn deref_mut(&mut self) -> &mut T

The method called to mutably dereference a value