pub struct PreparationCacheSnapshot {
pub entries: usize,
pub retained_bytes: usize,
pub hits: usize,
pub misses: usize,
pub evictions: usize,
}Expand description
Cache-owned storage only, excluding layouts retained by widgets and font data.
Fields§
§entries: usize§retained_bytes: usizeConservatively charged payload capacity plus per-entry bookkeeping.
hits: usize§misses: usize§evictions: usizeTrait Implementations§
Source§impl Clone for PreparationCacheSnapshot
impl Clone for PreparationCacheSnapshot
impl Copy for PreparationCacheSnapshot
Source§impl Debug for PreparationCacheSnapshot
impl Debug for PreparationCacheSnapshot
Source§impl Default for PreparationCacheSnapshot
impl Default for PreparationCacheSnapshot
impl Eq for PreparationCacheSnapshot
Source§impl PartialEq for PreparationCacheSnapshot
impl PartialEq for PreparationCacheSnapshot
impl StructuralPartialEq for PreparationCacheSnapshot
Auto Trait Implementations§
impl Forget for PreparationCacheSnapshot
impl Freeze for PreparationCacheSnapshot
impl Move for PreparationCacheSnapshot
impl RefUnwindSafe for PreparationCacheSnapshot
impl Send for PreparationCacheSnapshot
impl Sync for PreparationCacheSnapshot
impl Unpin for PreparationCacheSnapshot
impl UnsafeUnpin for PreparationCacheSnapshot
impl UnwindSafe for PreparationCacheSnapshot
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