Struct collections::binary_heap::Drain 1.6.0
[−]
[src]
pub struct Drain<'a, T> where
T: 'a, { /* fields omitted */ }
A draining iterator over the elements of a BinaryHeap
.
This struct
is created by the drain
method on BinaryHeap
. See its
documentation for more.
Trait Implementations
impl<'a, T> DoubleEndedIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,
impl<'a, T> Debug for Drain<'a, T> where
T: 'a + Debug,
[src]
T: 'a + Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<'a, T> Iterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,
type Item = T
fn next(&mut self) -> Option<T>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<'a, T> FusedIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,
impl<'a, T> ExactSizeIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,