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

pub struct Filter<A, I, P> where I: Iterator<Item=A>, P: FnMut(&A) -> bool {
    // some fields omitted
}

An iterator that filters the elements of iter with predicate

Trait Implementations

impl<A, I, P> Clone for Filter<A, I, P> where I: Clone + Iterator<Item=A>, P: Clone + FnMut(&A) -> bool

fn clone(&self) -> Filter<A, I, P>

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

impl<A, I, P> Iterator for Filter<A, I, P> where I: Iterator<Item=A>, P: FnMut(&A) -> bool

type Item = A

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

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

impl<A, I, P> DoubleEndedIterator for Filter<A, I, P> where I: DoubleEndedIterator<Item=A>, P: FnMut(&A) -> bool

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