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 InputResult
type OutputList: ListFn<End = Self>
Required methods
fn map_item(self, item: Self::InputItem) -> Self::OutputList
fn map_item(self, item: Self::InputItem) -> Self::OutputList
Map the given input
item into a list.
fn map_result(self, result: Self::InputResult) -> Self::EndList
fn map_result(self, result: Self::InputResult) -> Self::EndList
Map the given result
into an end list.