Struct std::vec::DrainUnstable [-]  [+] [src]

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

An iterator that drains a vector.

Trait Implementations

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

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

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

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

type Item

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

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

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

fn len(&self) -> usize

impl<'a, T> Drop for Drain<'a, T>

fn drop(&mut self)