Struct std::iter::FilterMapExperimental [-]  [+] [src]

pub struct FilterMap<'a, A, B, T> {
    // some fields omitted
}

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

Trait Implementations

impl<'a, A, B, T: Iterator<A>> Iterator<B> for FilterMap<'a, A, B, T>

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

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

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

fn chain<U: Iterator<B>>(self, U) -> Chain<FilterMap<'a, A, B, T>, U>

fn zip<B, U: Iterator<B>>(self, U) -> Zip<FilterMap<'a, A, B, T>, U>

fn map<B>(self, |B| -> B) -> Map<'r, B, B, FilterMap<'a, A, B, T>>

fn filter(self, |&B| -> bool) -> Filter<'r, B, FilterMap<'a, A, B, T>>

fn filter_map<B>(self, |B| -> Option<B>) -> FilterMap<'r, B, B, FilterMap<'a, A, B, T>>

fn enumerate(self) -> Enumerate<FilterMap<'a, A, B, T>>

fn peekable(self) -> Peekable<B, FilterMap<'a, A, B, T>>

fn skip_while(self, |&B| -> bool) -> SkipWhile<'r, B, FilterMap<'a, A, B, T>>

fn take_while(self, |&B| -> bool) -> TakeWhile<'r, B, FilterMap<'a, A, B, T>>

fn skip(self, uint) -> Skip<FilterMap<'a, A, B, T>>

fn take(self, uint) -> Take<FilterMap<'a, A, B, T>>

fn scan<St, B>(self, St, |&mut St, B| -> Option<B>) -> Scan<'r, B, B, FilterMap<'a, A, B, T>, St>

fn flat_map<B, U: Iterator<B>>(self, |B| -> U) -> FlatMap<'r, B, FilterMap<'a, A, B, T>, U>

fn fuse(self) -> Fuse<FilterMap<'a, A, B, T>>

fn inspect(self, |&B|) -> Inspect<'r, B, FilterMap<'a, A, B, T>>

fn by_ref(&'r mut self) -> ByRef<'r, FilterMap<'a, A, B, T>>

fn collect<B: FromIterator<B>>(&mut self) -> B

fn nth(&mut self, uint) -> Option<B>

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

fn fold<B>(&mut self, B, |B, B| -> B) -> B

fn count(&mut self) -> uint

fn all(&mut self, |B| -> bool) -> bool

fn any(&mut self, |B| -> bool) -> bool

fn find(&mut self, |&B| -> bool) -> Option<B>

fn position(&mut self, |B| -> bool) -> Option<uint>

fn max_by<B: Ord>(&mut self, |&B| -> B) -> Option<B>

fn min_by<B: Ord>(&mut self, |&B| -> B) -> Option<B>

impl<'a, A, B, T: DoubleEndedIterator<A>> DoubleEndedIterator<B> for FilterMap<'a, A, B, T>

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

fn rev(self) -> Rev<FilterMap<'a, A, B, T>>