pub struct Filter<I, F> {
// some fields omitted
}
An iterator which uses a predicate to determine which values of the
underlying iterator should be yielded.
Trait Implementations
type Item = I::Item
type Error = I::Error
fn next(&mut self) -> Result<Option<I::Item>, I::Error>
fn by_ref(&mut self) -> &mut Self where Self: Sized
fn filter<F>(self, f: F) -> Filter<Self, F> where Self: Sized, F: FnMut(&Self::Item) -> bool
fn fuse(self) -> Fuse<Self> where Self: Sized
fn fold<B, F>(self, init: B, f: F) -> Result<B, Self::Error> where Self: Sized, F: FnMut(B, Self::Item) -> B
fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> B, Self: Sized
fn map_err<B, F>(self, f: F) -> MapErr<Self, F> where F: FnMut(Self::Error) -> B, Self: Sized
fn take(self, n: usize) -> Take<Self> where Self: Sized
Derived Implementations