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 Byte
fn byte(b: u8) -> Self
[src]
fn byte(b: u8) -> Self
fn eof() -> Self
[src]
fn eof() -> Self
fn is_eof(&self) -> bool
[src]
fn is_eof(&self) -> bool
fn is_ascii_word(&self) -> bool
[src]
fn is_ascii_word(&self) -> bool
fn as_byte(&self) -> Option<u8>
[src]
fn as_byte(&self) -> Option<u8>
Trait Implementations
impl Copy for Byte
[src]
impl Copy for Byte
impl Clone for Byte
[src]
impl Clone for Byte
fn clone(&self) -> Byte
[src]
fn clone(&self) -> Byte
Returns 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