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

pub struct FilterMap<A, B, I, F> where I: Iterator<Item=A>, F: FnMut(A) -> Option<B> {
    // some fields omitted
}

An iterator that uses f to both filter and map elements from iter

Trait Implementations

impl<A, B, I, F> Clone for FilterMap<A, B, I, F> where I: Clone + Iterator<Item=A>, F: Clone + FnMut(A) -> Option<B>

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

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

impl<A, B, I, F> Iterator for FilterMap<A, B, I, F> where I: Iterator<Item=A>, F: FnMut(A) -> Option<B>

type Item = B

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

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

impl<A, B, I, F> DoubleEndedIterator for FilterMap<A, B, I, F> where I: DoubleEndedIterator<Item=A>, F: FnMut(A) -> Option<B>

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