pub struct ParseMetrics {
pub last_parse_time_ms: f64,
pub nodes_reused: usize,
pub nodes_reparsed: usize,
pub cache_hits: usize,
pub cache_misses: usize,
}Expand description
Performance metrics for incremental parsing
Fields§
§last_parse_time_ms: f64§nodes_reused: usize§nodes_reparsed: usize§cache_hits: usize§cache_misses: usizeTrait Implementations§
Source§impl Clone for ParseMetrics
impl Clone for ParseMetrics
Source§fn clone(&self) -> ParseMetrics
fn clone(&self) -> ParseMetrics
Returns a duplicate 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 ParseMetrics
impl Debug for ParseMetrics
Source§impl Default for ParseMetrics
impl Default for ParseMetrics
Source§fn default() -> ParseMetrics
fn default() -> ParseMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseMetrics
impl RefUnwindSafe for ParseMetrics
impl Send for ParseMetrics
impl Sync for ParseMetrics
impl Unpin for ParseMetrics
impl UnsafeUnpin for ParseMetrics
impl UnwindSafe for ParseMetrics
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