Struct regex::dfa::Byte [−][src]
struct Byte(u16);
Byte is a u8 in spirit, but a u16 in practice so that we can represent the special EOF sentinel value.
Methods
impl Byte[src]
impl Bytefn byte(b: u8) -> Self[src]
fn byte(b: u8) -> Selffn eof() -> Self[src]
fn eof() -> Selffn is_eof(&self) -> bool[src]
fn is_eof(&self) -> boolfn is_ascii_word(&self) -> bool[src]
fn is_ascii_word(&self) -> boolfn as_byte(&self) -> Option<u8>[src]
fn as_byte(&self) -> Option<u8>Trait Implementations
impl Copy for Byte[src]
impl Copy for Byteimpl Clone for Byte[src]
impl Clone for Bytefn clone(&self) -> Byte[src]
fn clone(&self) -> ByteReturns 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 Byte[src]
impl Debug for Byte