Module scan_rules::scanner::runtime
[−]
[src]
Types and constructors for various runtime scanners.
Structs
ExactWidth |
Runtime scanner that forces exactly |
MaxWidth |
Runtime scanner that forces at most |
MinWidth |
Runtime scanner that forces at least |
ScanA |
Runtime scanner that delegates to a static scanner. |
ScanRegex |
Runtime scanner that slices the input based on a regular expression. |
Functions
exact_width |
Creates a runtime scanner that forces exactly |
exact_width_a |
Creates a runtime scanner that forces exactly |
max_width |
Creates a runtime scanner that forces at most |
max_width_a |
Creates a runtime scanner that forces at most |
min_width |
Creates a runtime scanner that forces at least |
min_width_a |
Creates a runtime scanner that forces at least |
re |
Creates a runtime scanner that extracts a slice of the input using a regular expression, then scans the result using |
re_a |
Creates a runtime regex scanner that passes the matched input to a static scanner |
re_str |
Creates a runtime regex scanner that yields the matched input as a string slice. |
scan_a |
Returns a runtime scanner that delegates to a static scanner. |