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

pub struct Inspect<A, I, F> where I: Iterator<A>, F: FnMut(&A) {
    // 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> where I: ExactSizeIterator<A>, F: FnMut(&A)

fn rposition<P>(&mut self, predicate: P) -> Option<uint> where P: FnMut(A) -> bool

fn len(&self) -> uint

impl<A, I, F> Clone for Inspect<A, I, F> where I: Clone + Iterator<A>, F: Clone + FnMut(&A)

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

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

impl<A, I, F> Iterator<A> for Inspect<A, I, F> where I: Iterator<A>, F: FnMut(&A)

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

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

impl<A, I, F> DoubleEndedIterator<A> for Inspect<A, I, F> where I: DoubleEndedIterator<A>, F: FnMut(&A)

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

impl<A, I, F> RandomAccessIterator<A> for Inspect<A, I, F> where I: RandomAccessIterator<A>, F: FnMut(&A)

fn indexable(&self) -> uint

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