pub struct RegexTableBuilder { /* private fields */ }Expand description
Builds the regex table, compiling patterns to sparse DFAs.
Each regex is compiled to a sparse DFA and serialized. The table stores both StringId (for pattern display) and offset into the blob (for DFA access).
Index 0 is unused (regex_id 0 means “no regex”).
Implementations§
Trait Implementations§
Source§impl Debug for RegexTableBuilder
impl Debug for RegexTableBuilder
Source§impl Default for RegexTableBuilder
impl Default for RegexTableBuilder
Source§fn default() -> RegexTableBuilder
fn default() -> RegexTableBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegexTableBuilder
impl RefUnwindSafe for RegexTableBuilder
impl Send for RegexTableBuilder
impl Sync for RegexTableBuilder
impl Unpin for RegexTableBuilder
impl UnwindSafe for RegexTableBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more