pub struct MemoStats {
pub cache_size: usize,
pub hits: usize,
pub misses: usize,
pub hit_rate: f64,
}Expand description
Memoization statistics
Fields§
§cache_size: usize§hits: usize§misses: usize§hit_rate: f64Trait Implementations§
impl Copy for MemoStats
Auto Trait Implementations§
impl Freeze for MemoStats
impl RefUnwindSafe for MemoStats
impl Send for MemoStats
impl Sync for MemoStats
impl Unpin for MemoStats
impl UnwindSafe for MemoStats
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