Struct collections::vec::IntoIterStable [-]  [+] [src]

pub struct IntoIter<T> {
    // some fields omitted
}

An iterator that moves out of a vector.

Methods

impl<T> IntoIter<T>

fn into_inner(self) -> Vec<T>

Drops all items that have not yet been moved and returns the empty vector.

fn unwrap(self) -> Vec<T>

Deprecated, use .into_inner() instead

Trait Implementations

impl<T> Iterator<T> for IntoIter<T>

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

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

impl<T> DoubleEndedIterator<T> for IntoIter<T>

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

impl<T> ExactSizeIterator<T> for IntoIter<T>

fn rposition<P>(&mut self, predicate: P) -> Option<uint>

fn len(&self) -> uint

impl<T> Drop for IntoIter<T>

fn drop(&mut self)