pub struct IncrementalStats {
pub recomputed: usize,
pub cached: usize,
pub total: usize,
pub cache_entries: usize,
}Expand description
Statistics for a single incremental layout pass.
Fields§
§recomputed: usizeNodes recomputed in this pass.
cached: usizeNodes returned from cache.
total: usizeTotal get_or_compute calls in this pass.
cache_entries: usizeCurrent number of entries in the cache.
Implementations§
Trait Implementations§
Source§impl Clone for IncrementalStats
impl Clone for IncrementalStats
Source§fn clone(&self) -> IncrementalStats
fn clone(&self) -> IncrementalStats
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 IncrementalStats
impl Debug for IncrementalStats
Source§impl Default for IncrementalStats
impl Default for IncrementalStats
Source§fn default() -> IncrementalStats
fn default() -> IncrementalStats
Returns the “default value” for a type. Read more
Source§impl PartialEq for IncrementalStats
impl PartialEq for IncrementalStats
impl Eq for IncrementalStats
impl StructuralPartialEq for IncrementalStats
Auto Trait Implementations§
impl Freeze for IncrementalStats
impl RefUnwindSafe for IncrementalStats
impl Send for IncrementalStats
impl Sync for IncrementalStats
impl Unpin for IncrementalStats
impl UnsafeUnpin for IncrementalStats
impl UnwindSafe for IncrementalStats
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