Struct regex_automata::meta::wrappers::OnePassEngine
source · pub(crate) struct OnePassEngine(DFA);
Tuple Fields§
§0: DFA
Implementations§
source§impl OnePassEngine
impl OnePassEngine
pub(crate) fn new(info: &RegexInfo, nfa: &NFA) -> Option<OnePassEngine>
pub(crate) fn search_slots( &self, cache: &mut OnePassCache, input: &Input<'_>, slots: &mut [Option<NonMaxUsize>], ) -> Option<PatternID>
pub(crate) fn memory_usage(&self) -> usize
fn get_nfa(&self) -> &NFA
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OnePassEngine
impl RefUnwindSafe for OnePassEngine
impl Send for OnePassEngine
impl Sync for OnePassEngine
impl Unpin for OnePassEngine
impl UnwindSafe for OnePassEngine
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