#[repr(C)]pub struct MemoizeInstrumentation {
pub cache_hits: uint64,
pub cache_misses: uint64,
pub cache_evictions: uint64,
pub cache_overflows: uint64,
pub mem_peak: uint64,
}
Fields§
§cache_hits: uint64
§cache_misses: uint64
§cache_evictions: uint64
§cache_overflows: uint64
§mem_peak: uint64
Trait Implementations§
Source§impl Clone for MemoizeInstrumentation
impl Clone for MemoizeInstrumentation
Source§fn clone(&self) -> MemoizeInstrumentation
fn clone(&self) -> MemoizeInstrumentation
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 moreSource§impl Debug for MemoizeInstrumentation
impl Debug for MemoizeInstrumentation
Source§impl Default for MemoizeInstrumentation
impl Default for MemoizeInstrumentation
Source§fn default() -> MemoizeInstrumentation
fn default() -> MemoizeInstrumentation
Returns the “default value” for a type. Read more
impl Copy for MemoizeInstrumentation
Auto Trait Implementations§
impl Freeze for MemoizeInstrumentation
impl RefUnwindSafe for MemoizeInstrumentation
impl Send for MemoizeInstrumentation
impl Sync for MemoizeInstrumentation
impl Unpin for MemoizeInstrumentation
impl UnwindSafe for MemoizeInstrumentation
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