Struct regex_automata::meta::wrappers::Hybrid
source · pub(crate) struct Hybrid(Option<HybridEngine>);
Tuple Fields§
§0: Option<HybridEngine>
Implementations§
source§impl Hybrid
impl Hybrid
pub(crate) fn none() -> Hybrid
pub(crate) fn new( info: &RegexInfo, pre: Option<Prefilter>, nfa: &NFA, nfarev: &NFA, ) -> Hybrid
pub(crate) fn create_cache(&self) -> HybridCache
pub(crate) fn get(&self, _input: &Input<'_>) -> Option<&HybridEngine>
pub(crate) fn is_some(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hybrid
impl RefUnwindSafe for Hybrid
impl Send for Hybrid
impl Sync for Hybrid
impl Unpin for Hybrid
impl UnwindSafe for Hybrid
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