Trait list_fn::FlatScanFn[][src]

pub trait FlatScanFn {
    type InputItem;
    type InputResult;
    type ItemList: ListFn<End = Self>;
    type EndList: ListFn<Item = <Self::ItemList as ListFn>::Item>;
    fn map_item(self, input: Self::InputItem) -> Self::ItemList;
fn map_result(self, result: Self::InputResult) -> Self::EndList; }

Associated Types

type InputItem[src]

type InputResult[src]

type ItemList: ListFn<End = Self>[src]

type EndList: ListFn<Item = <Self::ItemList as ListFn>::Item>[src]

Loading content...

Required methods

fn map_item(self, input: Self::InputItem) -> Self::ItemList[src]

Expand description

Map the given input item into a list.

fn map_result(self, result: Self::InputResult) -> Self::EndList[src]

Expand description

Map the given result into an end list.

Loading content...

Implementors

Loading content...