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

#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
pub struct FlatMap<I, U, F> {
    // some fields omitted
}

An iterator that maps each element to an iterator, and yields the elements of the produced iterators

Trait Implementations

impl<I: Iterator, U: Iterator, F> Iterator for FlatMap<I, U, F> where F: FnMut(Item) -> U

type Item = Item

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

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

impl<I: DoubleEndedIterator, U: DoubleEndedIterator, F> DoubleEndedIterator for FlatMap<I, U, F> where F: FnMut(Item) -> U

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

Derived Implementations

impl<I: Clone, U: Clone, F: Clone> Clone for FlatMap<I, U, F>

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

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