Struct std::result::ItemUnstable [-]  [+] [src]

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

A Result iterator that yields either one or zero elements

The Item iterator is returned by the iter, iter_mut and into_iter methods on Result.

Trait Implementations

impl<T> Iterator<T> for Item<T>

fn next(&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<Item<T>, U>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fn by_ref(&'r mut self) -> ByRef<'r, Item<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<A> DoubleEndedIterator<A> for Item<A>

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

fn rev(self) -> Rev<Item<A>>

impl<A> ExactSize<A> for Item<A>

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

fn len(&self) -> uint

Derived Implementations

impl<T: Clone> Clone for Item<T>

fn clone(&self) -> Item<T>

fn clone_from(&mut self, &Item<T>)