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

pub struct Inspect<'a, A, T> {
    // some fields omitted
}

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

Trait Implementations

impl<'a, A, T: ExactSizeIterator<A>> ExactSizeIterator<A> for Inspect<'a, A, T>

fn rposition(&mut self, |A| -> bool) -> Option<uint>

fn len(&self) -> uint

impl<'a, A, T: Iterator<A>> Iterator<A> for Inspect<'a, A, T>

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

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

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

impl<'a, A, T: DoubleEndedIterator<A>> DoubleEndedIterator<A> for Inspect<'a, A, T>

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

impl<'a, A, T: RandomAccessIterator<A>> RandomAccessIterator<A> for Inspect<'a, A, T>

fn indexable(&self) -> uint

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