struct ReverseSuffix {
core: Core,
pre: Prefilter,
}Fields§
§core: Core§pre: PrefilterImplementations§
Source§impl ReverseSuffix
impl ReverseSuffix
fn new(core: Core, hirs: &[&Hir]) -> Result<ReverseSuffix, Core>
fn try_search_half_start( &self, cache: &mut Cache, input: &Input<'_>, ) -> Result<Option<HalfMatch>, RetryError>
fn try_search_half_fwd( &self, cache: &mut Cache, input: &Input<'_>, ) -> Result<Option<HalfMatch>, RetryFailError>
fn try_search_half_rev_limited( &self, cache: &mut Cache, input: &Input<'_>, min_start: usize, ) -> Result<Option<HalfMatch>, RetryError>
Trait Implementations§
Source§impl Debug for ReverseSuffix
impl Debug for ReverseSuffix
Source§impl Strategy for ReverseSuffix
impl Strategy for ReverseSuffix
fn group_info(&self) -> &GroupInfo
fn create_cache(&self) -> Cache
fn reset_cache(&self, cache: &mut Cache)
fn is_accelerated(&self) -> bool
fn memory_usage(&self) -> usize
fn search(&self, cache: &mut Cache, input: &Input<'_>) -> Option<Match>
fn search_half(&self, cache: &mut Cache, input: &Input<'_>) -> Option<HalfMatch>
fn is_match(&self, cache: &mut Cache, input: &Input<'_>) -> bool
fn search_slots( &self, cache: &mut Cache, input: &Input<'_>, slots: &mut [Option<NonMaxUsize>], ) -> Option<PatternID>
fn which_overlapping_matches( &self, cache: &mut Cache, input: &Input<'_>, patset: &mut PatternSet, )
Auto Trait Implementations§
impl Freeze for ReverseSuffix
impl RefUnwindSafe for ReverseSuffix
impl Send for ReverseSuffix
impl Sync for ReverseSuffix
impl Unpin for ReverseSuffix
impl UnsafeUnpin for ReverseSuffix
impl UnwindSafe for ReverseSuffix
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