Struct core::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: ExactSizeIterator, F> ExactSizeIterator for Map<I, F> where F: FnMut(Item) -> B

fn len(&self) -> usize

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

type Item = B

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

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

impl<B, I: DoubleEndedIterator, F> DoubleEndedIterator for Map<I, F> where F: FnMut(Item) -> B

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

impl<B, I: RandomAccessIterator, F> RandomAccessIterator for Map<I, F> where F: FnMut(Item) -> B

fn indexable(&self) -> usize

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

Derived Implementations

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

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

fn clone_from(&mut self, source: &Self)