Struct regex::literal::SingleByteSet [−][src]
Fields
sparse: Vec<bool>
dense: Vec<u8>
complete: bool
all_ascii: bool
Methods
impl SingleByteSet
[src]
impl SingleByteSet
fn new() -> SingleByteSet
[src]
fn new() -> SingleByteSet
fn prefixes(lits: &Literals) -> SingleByteSet
[src]
fn prefixes(lits: &Literals) -> SingleByteSet
fn suffixes(lits: &Literals) -> SingleByteSet
[src]
fn suffixes(lits: &Literals) -> SingleByteSet
fn find(&self, text: &[u8]) -> Option<usize>
[src]
fn find(&self, text: &[u8]) -> Option<usize>
Faster find that special cases certain sizes to use memchr.
fn _find(&self, haystack: &[u8]) -> Option<usize>
[src]
fn _find(&self, haystack: &[u8]) -> Option<usize>
Generic find that works on any sized set.
fn approximate_size(&self) -> usize
[src]
fn approximate_size(&self) -> usize
Trait Implementations
impl Clone for SingleByteSet
[src]
impl Clone for SingleByteSet
fn clone(&self) -> SingleByteSet
[src]
fn clone(&self) -> SingleByteSet
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 SingleByteSet
[src]
impl Debug for SingleByteSet
Auto Trait Implementations
impl Send for SingleByteSet
impl Send for SingleByteSet
impl Sync for SingleByteSet
impl Sync for SingleByteSet