Struct std::iter::RevStable [-] [+] [src]

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct Rev<T> {
    // some fields omitted
}

An double-ended iterator with the direction inverted

Trait Implementations

impl<I> ExactSizeIterator for Rev<I> where I: ExactSizeIterator, I: DoubleEndedIterator

fn len(&self) -> usize

impl<I> Iterator for Rev<I> where I: DoubleEndedIterator

type Item = <I as Iterator>::Item

fn next(&mut self) -> Option<<I as Iterator>::Item>

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

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

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

fn next_back(&mut self) -> Option<<I as Iterator>::Item>

impl<I> RandomAccessIterator for Rev<I> where I: DoubleEndedIterator, I: RandomAccessIterator

fn indexable(&self) -> usize

fn idx(&mut self, index: usize) -> Option<<I as Iterator>::Item>

Derived Implementations

impl<T> Clone for Rev<T> where T: Clone

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

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