Struct std::collections::binary_heap::DrainUnstable [-] [+] [src]

pub struct Drain<'a, T> where T: 'a {
    // some fields omitted
}

An iterator that drains a BinaryHeap.

Trait Implementations

impl<'a, T> Iterator for Drain<'a, T> where T: 'a

type Item = T

fn next(&mut self) -> Option<T>

fn size_hint(&self) -> (usize, Option<usize>)

fn size_hint(&self) -> (usize, Option<usize>)

impl<'a, T> DoubleEndedIterator for Drain<'a, T> where T: 'a

fn next_back(&mut self) -> Option<T>

impl<'a, T> ExactSizeIterator for Drain<'a, T> where T: 'a

fn len(&self) -> usize