Struct regex_automata::meta::wrappers::PikeVMEngine
source · pub(crate) struct PikeVMEngine(PikeVM);
Tuple Fields§
§0: PikeVM
Implementations§
source§impl PikeVMEngine
impl PikeVMEngine
pub(crate) fn new( info: &RegexInfo, pre: Option<Prefilter>, nfa: &NFA, ) -> Result<PikeVMEngine, BuildError>
pub(crate) fn is_match( &self, cache: &mut PikeVMCache, input: &Input<'_>, ) -> bool
pub(crate) fn search_slots( &self, cache: &mut PikeVMCache, input: &Input<'_>, slots: &mut [Option<NonMaxUsize>], ) -> Option<PatternID>
pub(crate) fn which_overlapping_matches( &self, cache: &mut PikeVMCache, input: &Input<'_>, patset: &mut PatternSet, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PikeVMEngine
impl RefUnwindSafe for PikeVMEngine
impl Send for PikeVMEngine
impl Sync for PikeVMEngine
impl Unpin for PikeVMEngine
impl UnwindSafe for PikeVMEngine
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