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

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

fn len(&self) -> usize

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

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

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

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

type Item = A

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

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

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

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

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

fn indexable(&self) -> usize

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