Trait list_fn::FlatScanFn [−][src]
pub trait FlatScanFn { type InputItem; type InputResult; type OutputList: ListFn<End = Self>; type EndList: ListFn<Item = <Self::OutputList as ListFn>::Item>; fn map_item(self, item: Self::InputItem) -> Self::OutputList; fn map_result(self, result: Self::InputResult) -> Self::EndList; }
Associated Types
type InputItem
[src]
type InputResult
[src]
type OutputList: ListFn<End = Self>
[src]
type EndList: ListFn<Item = <Self::OutputList as ListFn>::Item>
[src]
Required methods
fn map_item(self, item: Self::InputItem) -> Self::OutputList
[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.
Implementors
impl<S: FilterScanFn> FlatScanFn for FilterScanWrap<S>
[src]
impl<S: FilterScanFn> FlatScanFn for FilterScanWrap<S>
[src]type InputItem = S::InputItem
type InputResult = S::InputResult
type OutputList = OptionList<S::OutputItem, Self>
type EndList = OptionList<S::OutputItem, S::OutputResult>
fn map_item(self, input: Self::InputItem) -> Self::OutputList
[src]
fn map_result(self, result: Self::InputResult) -> Self::EndList
[src]
impl<S: ScanFn> FlatScanFn for ScanWrap<S>
[src]
impl<S: ScanFn> FlatScanFn for ScanWrap<S>
[src]