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§impl Debug for IncrementalStats
impl Debug for IncrementalStats
Source§impl Default for IncrementalStats
impl Default for IncrementalStats
impl Eq for IncrementalStats
Source§impl PartialEq for IncrementalStats
impl PartialEq 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