pub struct TextCacheCounters {Show 21 fields
pub layouts_requested: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub font_resolution_requests: u64,
pub font_resolution_cache_hits: u64,
pub font_resolution_cache_misses: u64,
pub coverage_queries: u64,
pub fallback_runs: u64,
pub fallback_fonts_used: u64,
pub missing_clusters: u64,
pub shaping_runs: u64,
pub paragraphs_considered: u64,
pub paragraphs_reshaped: u64,
pub parley_layouts_reused: u64,
pub documents_composed: u64,
pub documents_reused: u64,
pub width_reuses: u64,
pub cache_growths: u64,
pub cache_shrinks: u64,
pub paragraphs_carried: u64,
pub shapes_reused: u64,
}Expand description
Mirror of the text engine’s cache diagnostics (cumulative).
Fields§
§layouts_requested: u64§cache_hits: u64§cache_misses: u64§font_resolution_requests: u64§font_resolution_cache_hits: u64§font_resolution_cache_misses: u64§coverage_queries: u64§fallback_runs: u64§fallback_fonts_used: u64§missing_clusters: u64§shaping_runs: u64§paragraphs_considered: u64§paragraphs_reshaped: u64§parley_layouts_reused: u64§documents_composed: u64§documents_reused: u64§width_reuses: u64§cache_growths: u64§cache_shrinks: u64§paragraphs_carried: u64§shapes_reused: u64Trait Implementations§
Source§impl Clone for TextCacheCounters
impl Clone for TextCacheCounters
Source§impl Debug for TextCacheCounters
impl Debug for TextCacheCounters
Source§impl Default for TextCacheCounters
impl Default for TextCacheCounters
Source§impl<'de> Deserialize<'de> for TextCacheCounterswhere
TextCacheCounters: Default,
impl<'de> Deserialize<'de> for TextCacheCounterswhere
TextCacheCounters: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextCacheCounters
Source§impl PartialEq for TextCacheCounters
impl PartialEq for TextCacheCounters
Source§impl Serialize for TextCacheCounters
impl Serialize for TextCacheCounters
impl StructuralPartialEq for TextCacheCounters
Auto Trait Implementations§
impl Forget for TextCacheCounters
impl Freeze for TextCacheCounters
impl RefUnwindSafe for TextCacheCounters
impl Send for TextCacheCounters
impl Sync for TextCacheCounters
impl Unpin for TextCacheCounters
impl UnsafeUnpin for TextCacheCounters
impl UnwindSafe for TextCacheCounters
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