pub trait ScanFn: Sized {
type InputItem;
type InputResult;
type OutputItem;
type OutputResult;
// Required methods
fn map_input(self, input: Self::InputItem) -> ScanState<Self>;
fn map_result(self, result: Self::InputResult) -> Self::OutputResult;
}
Required Associated Types§
Required Methods§
fn map_input(self, input: Self::InputItem) -> ScanState<Self>
fn map_result(self, result: Self::InputResult) -> Self::OutputResult
Object Safety§
This trait is not object safe.