pub struct ScanWrap<S: ScanFn>(_);
Trait Implementations§
source§impl<S: ScanFn> FlatScanFn for ScanWrap<S>
impl<S: ScanFn> FlatScanFn for ScanWrap<S>
type InputItem = <S as ScanFn>::InputItem
type InputResult = <S as ScanFn>::InputResult
type OutputList = OptionList<<S as ScanFn>::OutputItem, ScanWrap<S>>
type EndList = OptionList<<S as ScanFn>::OutputItem, Id<<S as ScanFn>::OutputResult>>
source§fn map_item(self, input: Self::InputItem) -> Self::OutputList
fn map_item(self, input: Self::InputItem) -> Self::OutputList
Map the given
input
item into a list.source§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.