Struct streaming_iterator::FlatMap[][src]

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

A streaming iterator that maps elements to iterators with a closure and then yields the concatenation of the obtained iterators

Trait Implementations

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

impl<I, J, F> StreamingIterator for FlatMap<I, J, F> where
    I: StreamingIterator,
    F: FnMut(&I::Item) -> J,
    J: StreamingIterator
[src]

type Item = J::Item

The type of the elements being iterated over.

impl<I, J, F> StreamingIteratorMut for FlatMap<I, J, F> where
    I: StreamingIterator,
    F: FnMut(&I::Item) -> J,
    J: StreamingIteratorMut
[src]

Auto Trait Implementations

impl<I, J, F> Send for FlatMap<I, J, F> where
    F: Send,
    I: Send,
    J: Send

impl<I, J, F> Sync for FlatMap<I, J, F> where
    F: Sync,
    I: Sync,
    J: Sync

impl<I, J, F> Unpin for FlatMap<I, J, F> where
    F: Unpin,
    I: Unpin,
    J: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.