Struct regex_automata::meta::wrappers::DFAEngine
source · pub(crate) struct DFAEngine(());
Tuple Fields§
§0: ()
Implementations§
source§impl DFAEngine
impl DFAEngine
pub(crate) fn new( info: &RegexInfo, pre: Option<Prefilter>, nfa: &NFA, nfarev: &NFA, ) -> Option<DFAEngine>
pub(crate) fn try_search( &self, input: &Input<'_>, ) -> Result<Option<Match>, RetryFailError>
pub(crate) fn try_search_half_fwd( &self, input: &Input<'_>, ) -> Result<Option<HalfMatch>, RetryFailError>
pub(crate) fn try_search_half_fwd_stopat( &self, input: &Input<'_>, ) -> Result<Result<HalfMatch, usize>, RetryFailError>
pub(crate) fn try_search_half_rev( &self, input: &Input<'_>, ) -> Result<Option<HalfMatch>, RetryFailError>
pub(crate) fn try_search_half_rev_limited( &self, input: &Input<'_>, min_start: usize, ) -> Result<Option<HalfMatch>, RetryError>
pub(crate) fn try_which_overlapping_matches( &self, input: &Input<'_>, patset: &mut PatternSet, ) -> Result<(), RetryFailError>
pub(crate) fn memory_usage(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DFAEngine
impl RefUnwindSafe for DFAEngine
impl Send for DFAEngine
impl Sync for DFAEngine
impl Unpin for DFAEngine
impl UnwindSafe for DFAEngine
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