pub struct SemanticParseCacheStats {
pub hits: usize,
pub misses: usize,
pub stores: usize,
}Expand description
Parse cache counters for warm/cold benchmarking.
Fields§
§hits: usizeNumber of successful cache hits.
misses: usizeNumber of cache misses.
stores: usizeNumber of entries inserted into the cache.
Trait Implementations§
Source§impl Clone for SemanticParseCacheStats
impl Clone for SemanticParseCacheStats
Source§fn clone(&self) -> SemanticParseCacheStats
fn clone(&self) -> SemanticParseCacheStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticParseCacheStats
impl Debug for SemanticParseCacheStats
Source§impl Default for SemanticParseCacheStats
impl Default for SemanticParseCacheStats
Source§fn default() -> SemanticParseCacheStats
fn default() -> SemanticParseCacheStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for SemanticParseCacheStats
impl PartialEq for SemanticParseCacheStats
Source§fn eq(&self, other: &SemanticParseCacheStats) -> bool
fn eq(&self, other: &SemanticParseCacheStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SemanticParseCacheStats
impl Eq for SemanticParseCacheStats
impl StructuralPartialEq for SemanticParseCacheStats
Auto Trait Implementations§
impl Freeze for SemanticParseCacheStats
impl RefUnwindSafe for SemanticParseCacheStats
impl Send for SemanticParseCacheStats
impl Sync for SemanticParseCacheStats
impl Unpin for SemanticParseCacheStats
impl UnsafeUnpin for SemanticParseCacheStats
impl UnwindSafe for SemanticParseCacheStats
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