pub struct EngineOptions {
pub dfa_threshold: usize,
pub max_dfa_capacity: usize,
pub lookahead_context_max: u32,
}Expand description
lazy DFA engine options.
Fields§
§dfa_threshold: usizestates to eagerly precompile (0 = fully lazy).
max_dfa_capacity: usizemax cached DFA states; clamped to u16::MAX.
lookahead_context_max: u32max lookahead context distance (default: 800).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EngineOptions
impl RefUnwindSafe for EngineOptions
impl Send for EngineOptions
impl Sync for EngineOptions
impl Unpin for EngineOptions
impl UnsafeUnpin for EngineOptions
impl UnwindSafe for EngineOptions
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