Struct traverse::FlatMap [] [src]

pub struct FlatMap<I, F> {
    // some fields omitted
}

Trait Implementations

impl<I: Traversal, O: Traversal, F: FnMut(I::Item) -> O> Traversal for FlatMap<I, F>
[src]

type Item = F::Output::Item

fn foreach<F1>(self, f: F1) where F1: FnMut(Self::Item) -> bool

Run this Iterator using the provided closure. Read more

fn run<F>(self, f: F) where F: FnMut(Self::Item)

Run this Iterator using the provided closure. Read more

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

fn map<F, O>(self, f: F) -> Map<Self, F> where F: FnMut(Self::Item) -> O

fn filter<F>(self, pred: F) -> Filter<Self, F> where F: FnMut(&Self::Item) -> bool

fn filter_map<F, O>(self, pred: F) -> FilterMap<Self, F> where F: FnMut(Self::Item) -> Option<O>

fn enumerate(self) -> Enumerate<Self>

fn skip(self, n: usize) -> Skip<Self>

fn take(self, n: usize) -> Take<Self>

fn skip_while<F>(self, pred: F) -> SkipWhile<Self, F> where F: FnMut(&Self::Item) -> bool

fn take_while<F>(self, pred: F) -> TakeWhile<Self, F> where F: FnMut(&Self::Item) -> bool

fn inspect<F>(self, f: F) -> Inspect<Self, F> where F: FnMut(&Self::Item)

fn flat_map<A, U, F>(self, f: F) -> FlatMap<Self, F> where U: Traversal<Item=A>, F: FnMut(Self::Item) -> U

fn chain<O>(self, other: O) -> Chain<Self, O> where O: Traversal<Item=Self::Item>

fn count(self) -> usize

fn cloned(self) -> Cloned<Self>

fn collect<D>(self) -> D where D: FromTraversal<Self::Item>

impl<I: Clone, F: Clone> Clone for FlatMap<I, F>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<I: Copy, F: Copy> Copy for FlatMap<I, F>
[src]