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> Iterator 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>
Formats the value using the given formatter.
impl<'a, T> ExactSizeIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,
fn is_empty(&self) -> bool
impl<'a, T> DoubleEndedIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,
impl<'a, T> FusedIterator for Drain<'a, T> where
T: 'a,
[src]
T: 'a,