pub struct ProfilingData {
pub glyph_cache_misses: u32,
pub glyph_cache_hits: u32,
pub glyphs_drawn: u32,
pub quads_drawn: u32,
pub glyphs_rasterized: u32,
}Expand description
The data collected by fae internals. Returned by
profiler::read.
Fields§
§glyph_cache_misses: u32The amount of glyphs that had to be rasterized during this frame (ie. they weren’t in the glyph cache, and drawing the glyph was slow, as it had to be rasterized).
glyph_cache_hits: u32The amount of glyphs that didn’t have to rasterized during this frame (ie. they were in the glyph cache, and drawing the glyph was very fast).
glyphs_drawn: u32The amount of glyphs that were rendered during this frame.
quads_drawn: u32The amount of quads that were rendered during this frame (includes the glyphs, each one is a quad).
glyphs_rasterized: u32The amount of times a glyph had to be rasterized in the application so far.
Trait Implementations§
Source§impl Clone for ProfilingData
impl Clone for ProfilingData
Source§fn clone(&self) -> ProfilingData
fn clone(&self) -> ProfilingData
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 moreAuto Trait Implementations§
impl Freeze for ProfilingData
impl RefUnwindSafe for ProfilingData
impl Send for ProfilingData
impl Sync for ProfilingData
impl Unpin for ProfilingData
impl UnsafeUnpin for ProfilingData
impl UnwindSafe for ProfilingData
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