Struct scan_rules::scanner::runtime::MaxWidth [] [src]

pub struct MaxWidth<Then>(_, _);

Runtime scanner that forces at most width bytes to be consumed.

See: max_width, max_width_a.

Trait Implementations

impl<'a, Then> ScanStr<'a> for MaxWidth<Then> where
    Then: ScanStr<'a>, 
[src]

The type that the implementation scans into.

Perform a scan on the given input. Read more

Indicates whether or not the scanner wants its input to have leading "junk", such as whitespace, stripped. Read more