Struct fallible_iterator::Rev [] [src]

pub struct Rev<I>(_);

An iterator which yields elements of the underlying iterator in reverse order.

Trait Implementations

impl<I> FallibleIterator for Rev<I> where I: DoubleEndedFallibleIterator

type Item = I::Item

type Error = I::Error

fn next(&mut self) -> Result<Option<I::Item>, I::Error>

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

fn count(self) -> Result<usize, I::Error>

fn all<F>(&mut self, f: F) -> Result<bool, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool

fn any<F>(&mut self, f: F) -> Result<bool, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool

fn by_ref(&mut self) -> &mut Self where Self: Sized

fn chain<I>(self, it: I) -> Chain<Self, I> where I: IntoFallibleIterator<Item=Self::Item, Error=Self::Error>, Self: Sized

fn cloned<'a, T>(self) -> Cloned<Self> where Self: Sized + FallibleIterator<Item=&'a T>, T: 'a + Clone

fn collect<T>(self) -> Result<T, Self::Error> where T: FromFallibleIterator<Self::Item>, Self: Sized

fn enumerate(self) -> Enumerate<Self> where Self: Sized

fn filter<F>(self, f: F) -> Filter<Self, F> where Self: Sized, F: FnMut(&Self::Item) -> bool

fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> where Self: Sized, F: FnMut(Self::Item) -> Option<B>

fn find<F>(&mut self, f: F) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, F: FnMut(&Self::Item) -> bool

fn fuse(self) -> Fuse<Self> where Self: Sized

fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where Self: Sized, F: FnMut(B, Self::Item) -> B

fn iterator(self) -> Iterator<Self> where Self: Sized

fn last(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sized

fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sized

fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where F: FnMut(Self::Error) -> B, Self: Sized

fn max(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, Self::Item: Ord

fn max_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, B: Ord, F: FnMut(&Self::Item) -> B

fn min(self) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, Self::Item: Ord

fn min_by_key<B, F>(self, f: F) -> Result<Option<Self::Item>, Self::Error> where Self: Sized, B: Ord, F: FnMut(&Self::Item) -> B

fn nth(&mut self, n: usize) -> Result<Option<Self::Item>, Self::Error>

fn peekable(self) -> Peekable<Self> where Self: Sized

fn position<F>(&mut self, f: F) -> Result<Option<usize>, Self::Error> where Self: Sized, F: FnMut(Self::Item) -> bool

fn rev(self) -> Rev<Self> where Self: Sized + DoubleEndedFallibleIterator

fn take(self, n: usize) -> Take<Self> where Self: Sized

fn zip<I>(self, o: I) -> Zip<Self, I::IntoIter> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>

fn cmp<I>(self, other: I) -> Result<Ordering, Self::Error> where Self: Sized, I: IntoFallibleIterator<Item=Self::Item, Error=Self::Error>, Self::Item: Ord

fn partial_cmp<I>(self, other: I) -> Result<Option<Ordering>, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialOrd<I::Item>

fn eq<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialEq<I::Item>

fn ne<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialEq<I::Item>

fn lt<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialOrd<I::Item>

fn le<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialOrd<I::Item>

fn gt<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialOrd<I::Item>

fn ge<I>(self, other: I) -> Result<bool, Self::Error> where Self: Sized, I: IntoFallibleIterator<Error=Self::Error>, Self::Item: PartialOrd<I::Item>

impl<I> DoubleEndedFallibleIterator for Rev<I> where I: DoubleEndedFallibleIterator

fn next_back(&mut self) -> Result<Option<I::Item>, I::Error>

Derived Implementations

impl<I: Debug> Debug for Rev<I>

fn fmt(&self, __arg_0: &mut Formatter) -> Result