Struct regex_automata::meta::wrappers::BoundedBacktrackerCache
source · pub(crate) struct BoundedBacktrackerCache(Option<Cache>);
Tuple Fields§
§0: Option<Cache>
Implementations§
source§impl BoundedBacktrackerCache
impl BoundedBacktrackerCache
pub(crate) fn none() -> BoundedBacktrackerCache
pub(crate) fn new(builder: &BoundedBacktracker) -> BoundedBacktrackerCache
pub(crate) fn reset(&mut self, builder: &BoundedBacktracker)
pub(crate) fn memory_usage(&self) -> usize
Trait Implementations§
source§impl Clone for BoundedBacktrackerCache
impl Clone for BoundedBacktrackerCache
source§fn clone(&self) -> BoundedBacktrackerCache
fn clone(&self) -> BoundedBacktrackerCache
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BoundedBacktrackerCache
impl RefUnwindSafe for BoundedBacktrackerCache
impl Send for BoundedBacktrackerCache
impl Sync for BoundedBacktrackerCache
impl Unpin for BoundedBacktrackerCache
impl UnwindSafe for BoundedBacktrackerCache
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