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