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

pub struct Inspect<A, I, F> {
    // some fields omitted
}

An iterator that calls a function with a reference to each element before yielding it.

Trait Implementations

impl<A, I, F> ExactSizeIterator<A> for Inspect<A, I, F>

fn rposition<P>(&mut self, P) -> Option<uint>

fn len(&self) -> uint

impl<A, I, F> Clone for Inspect<A, I, F>

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

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

impl<A, I, F> Iterator<A> for Inspect<A, I, F>

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

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

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

impl<A, I, F> DoubleEndedIterator<A> for Inspect<A, I, F>

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

impl<A, I, F> RandomAccessIterator<A> for Inspect<A, I, F>

fn indexable(&self) -> uint

fn idx(&mut self, index: uint) -> Option<A>