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

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

An iterator that maps the values of iter with f

Trait Implementations

impl<B, I, F> ExactSizeIterator for Map<I, F> where I: ExactSizeIterator, F: FnMut(<I as Iterator>::Item), <F as FnMut(<I as Iterator>::Item)>::Output == B

fn len(&self) -> usize

impl<B, I, F> Iterator for Map<I, F> where I: Iterator, F: FnMut(<I as Iterator>::Item), <F as FnMut(<I as Iterator>::Item)>::Output == B

type Item = B

fn next(&mut self) -> Option<B>

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

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

impl<B, I, F> DoubleEndedIterator for Map<I, F> where I: DoubleEndedIterator, F: FnMut(<I as Iterator>::Item), <F as FnMut(<I as Iterator>::Item)>::Output == B

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

impl<B, I, F> RandomAccessIterator for Map<I, F> where I: RandomAccessIterator, F: FnMut(<I as Iterator>::Item), <F as FnMut(<I as Iterator>::Item)>::Output == B

fn indexable(&self) -> usize

fn idx(&mut self, index: usize) -> Option<B>

Derived Implementations

impl<I, F> Clone for Map<I, F> where I: Clone, F: Clone

fn clone(&self) -> Map<I, F>

fn clone_from(&mut self, &Map<I, F>)