Struct regex::literal::SingleByteSet [−][src]
Fields
sparse: Vec<bool>
dense: Vec<u8>
complete: bool
all_ascii: bool
Methods
impl SingleByteSet[src]
impl SingleByteSetfn new() -> SingleByteSet[src]
fn new() -> SingleByteSetfn prefixes(lits: &Literals) -> SingleByteSet[src]
fn prefixes(lits: &Literals) -> SingleByteSetfn suffixes(lits: &Literals) -> SingleByteSet[src]
fn suffixes(lits: &Literals) -> SingleByteSetfn 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) -> usizeTrait Implementations
impl Clone for SingleByteSet[src]
impl Clone for SingleByteSetfn clone(&self) -> SingleByteSet[src]
fn clone(&self) -> SingleByteSetReturns 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 SingleByteSetAuto Trait Implementations
impl Send for SingleByteSet
impl Send for SingleByteSetimpl Sync for SingleByteSet
impl Sync for SingleByteSet