Struct regex_automata::meta::wrappers::PikeVMCache
source · pub(crate) struct PikeVMCache(Option<Cache>);
Tuple Fields§
§0: Option<Cache>
Implementations§
source§impl PikeVMCache
impl PikeVMCache
pub(crate) fn none() -> PikeVMCache
pub(crate) fn new(builder: &PikeVM) -> PikeVMCache
pub(crate) fn reset(&mut self, builder: &PikeVM)
pub(crate) fn memory_usage(&self) -> usize
Trait Implementations§
source§impl Clone for PikeVMCache
impl Clone for PikeVMCache
source§fn clone(&self) -> PikeVMCache
fn clone(&self) -> PikeVMCache
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 PikeVMCache
impl RefUnwindSafe for PikeVMCache
impl Send for PikeVMCache
impl Sync for PikeVMCache
impl Unpin for PikeVMCache
impl UnwindSafe for PikeVMCache
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)