Struct scan_rules::scanner::runtime::ScanA
[−]
[src]
pub struct ScanA<S>(_);
Runtime scanner that delegates to a static scanner.
See: scan_a
.
Trait Implementations
impl<'a, S> ScanStr<'a> for ScanA<S> where
S: ScanFromStr<'a>,
[src]
S: ScanFromStr<'a>,
type Output = S::Output
The type that the implementation scans into.
fn scan<I: ScanInput<'a>>(
&mut self,
s: I
) -> Result<(Self::Output, usize), ScanError>
&mut self,
s: I
) -> Result<(Self::Output, usize), ScanError>
Perform a scan on the given input. Read more
fn wants_leading_junk_stripped(&self) -> bool
Indicates whether or not the scanner wants its input to have leading "junk", such as whitespace, stripped. Read more