pub struct RendererTextFontTraceSnapshot {
pub frame_id: FrameId,
pub entries: Vec<RendererTextFontTraceEntry>,
}Expand description
Per-frame renderer-owned font selection trace, intended for diagnostics bundles.
This is not a stable contract for apps; it exists to make font fallback issues auditable and to help keep refactors fearless (especially around variable fonts and fallback chain semantics).
Fields§
§frame_id: FrameId§entries: Vec<RendererTextFontTraceEntry>Bounded list of trace entries for the frame.
Renderers are expected to keep this list small. Typical policies:
- record entries only when missing/tofu glyphs are observed
- record a small ring of the most recent prepared blobs when explicitly enabled
Trait Implementations§
Source§impl Clone for RendererTextFontTraceSnapshot
impl Clone for RendererTextFontTraceSnapshot
Source§fn clone(&self) -> RendererTextFontTraceSnapshot
fn clone(&self) -> RendererTextFontTraceSnapshot
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 Default for RendererTextFontTraceSnapshot
impl Default for RendererTextFontTraceSnapshot
Source§fn default() -> RendererTextFontTraceSnapshot
fn default() -> RendererTextFontTraceSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RendererTextFontTraceSnapshot
impl RefUnwindSafe for RendererTextFontTraceSnapshot
impl Send for RendererTextFontTraceSnapshot
impl Sync for RendererTextFontTraceSnapshot
impl Unpin for RendererTextFontTraceSnapshot
impl UnsafeUnpin for RendererTextFontTraceSnapshot
impl UnwindSafe for RendererTextFontTraceSnapshot
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