Trait list_fn::FlatMapFn[][src]

pub trait FlatMapFn {
    type Input;
    type OutputList: ListFn;
    fn map(&self, input: Self::Input) -> Self::OutputList;
}

Associated Types

Loading content...

Required methods

fn map(&self, input: Self::Input) -> Self::OutputList[src]

Expand description

Map the given input item into a list.

Loading content...

Implementors

impl<F: FilterFn> FlatMapFn for FilterWrap<F>[src]

type Input = F::Input

type OutputList = Option<F::Output>

fn map(&self, input: Self::Input) -> Self::OutputList[src]

impl<I> FlatMapFn for FlattenList<I> where
    I: ListFn,
    I::Item: ListFn
[src]

type Input = I::Item

type OutputList = I::Item

fn map(&self, input: Self::Input) -> Self::OutputList[src]

impl<M: MapFn> FlatMapFn for MapWrap<M>[src]

type Input = M::Input

type OutputList = Option<M::Output>

fn map(&self, input: Self::Input) -> Self::OutputList[src]

Loading content...