Struct regex_syntax::ByteRange
[−]
[src]
pub struct ByteRange { pub start: u8, pub end: u8, }
A single inclusive range in a byte class.
Note that this has a few convenient impls on PartialEq
and PartialOrd
for testing whether a byte is contained inside a given range.
Fields
start | The start byte of the range. This must be less than or equal to |
end | The end byte of the range. This must be greater than or equal to |