Struct regex::prog::InstBytes [−][src]
Representation of the Bytes instruction.
Fields
goto: usize
The next location to execute in the program if this instruction succeeds.
start: u8
The start (inclusive) of this byte range.
end: u8
The end (inclusive) of this byte range.
Methods
impl InstBytes[src]
impl InstBytespub fn matches(&self, byte: u8) -> bool[src]
pub fn matches(&self, byte: u8) -> boolReturns true if and only if the given byte is in this range.
Trait Implementations
impl Clone for InstBytes[src]
impl Clone for InstBytesfn clone(&self) -> InstBytes[src]
fn clone(&self) -> InstBytesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for InstBytes[src]
impl Debug for InstBytes