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

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

An iterator that moves out of a vector.

Methods

impl<T> MoveItems<T>

fn unwrap(self) -> Vec<T>

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

Trait Implementations

impl<T> Iterator<T> for MoveItems<T>

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

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

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

fn chain<U: Iterator<T>>(self, U) -> Chain<MoveItems<T>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<MoveItems<T>, U>

fn map<B>(self, |T| -> B) -> Map<'r, T, B, MoveItems<T>>

fn filter(self, |&T| -> bool) -> Filter<'r, T, MoveItems<T>>

fn filter_map<B>(self, |T| -> Option<B>) -> FilterMap<'r, T, B, MoveItems<T>>

fn enumerate(self) -> Enumerate<MoveItems<T>>

fn peekable(self) -> Peekable<T, MoveItems<T>>

fn skip_while(self, |&T| -> bool) -> SkipWhile<'r, T, MoveItems<T>>

fn take_while(self, |&T| -> bool) -> TakeWhile<'r, T, MoveItems<T>>

fn skip(self, uint) -> Skip<MoveItems<T>>

fn take(self, uint) -> Take<MoveItems<T>>

fn scan<St, B>(self, St, |&mut St, T| -> Option<B>) -> Scan<'r, T, B, MoveItems<T>, St>

fn flat_map<B, U: Iterator<B>>(self, |T| -> U) -> FlatMap<'r, T, MoveItems<T>, U>

fn fuse(self) -> Fuse<MoveItems<T>>

fn inspect(self, |&T|) -> Inspect<'r, T, MoveItems<T>>

fn by_ref(&'r mut self) -> ByRef<'r, MoveItems<T>>

fn collect<B: FromIterator<T>>(&mut self) -> B

fn nth(&mut self, uint) -> Option<T>

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

fn fold<B>(&mut self, B, |B, T| -> B) -> B

fn count(&mut self) -> uint

fn all(&mut self, |T| -> bool) -> bool

fn any(&mut self, |T| -> bool) -> bool

fn find(&mut self, |&T| -> bool) -> Option<T>

fn position(&mut self, |T| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&T| -> B) -> Option<T>

fn min_by<B: Ord>(&mut self, |&T| -> B) -> Option<T>

impl<T> DoubleEndedIterator<T> for MoveItems<T>

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

fn rev(self) -> Rev<MoveItems<T>>

impl<T> ExactSize<T> for MoveItems<T>

fn rposition(&mut self, |T| -> bool) -> Option<uint>

fn len(&self) -> uint

impl<T> Drop for MoveItems<T>

fn drop(&mut self)