Struct regex_automata::meta::wrappers::BoundedBacktracker
source · pub(crate) struct BoundedBacktracker(Option<BoundedBacktrackerEngine>);
Tuple Fields§
§0: Option<BoundedBacktrackerEngine>
Implementations§
source§impl BoundedBacktracker
impl BoundedBacktracker
pub(crate) fn new( info: &RegexInfo, pre: Option<Prefilter>, nfa: &NFA, ) -> Result<BoundedBacktracker, BuildError>
pub(crate) fn create_cache(&self) -> BoundedBacktrackerCache
pub(crate) fn get(&self, input: &Input<'_>) -> Option<&BoundedBacktrackerEngine>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoundedBacktracker
impl RefUnwindSafe for BoundedBacktracker
impl Send for BoundedBacktracker
impl Sync for BoundedBacktracker
impl Unpin for BoundedBacktracker
impl UnwindSafe for BoundedBacktracker
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