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