pub struct GlyphRunStatistics { /* private fields */ }Expand description
Bounded retained glyph-run statistics independent of frame timing.
Implementations§
Source§impl GlyphRunStatistics
impl GlyphRunStatistics
Sourcepub const fn submitted_glyphs(self) -> usize
pub const fn submitted_glyphs(self) -> usize
Returns positioned glyphs accepted from the host.
Sourcepub const fn rendered_quads(self) -> usize
pub const fn rendered_quads(self) -> usize
Returns retained drawable quads. Successful runs have one per glyph.
Sourcepub const fn atlas_misses(self) -> usize
pub const fn atlas_misses(self) -> usize
Returns atlas misses. Successful retained runs always report zero.
Sourcepub const fn retained_bytes(self) -> usize
pub const fn retained_bytes(self) -> usize
Returns exact retained glyph and sprite-description bytes.
Trait Implementations§
Source§impl Clone for GlyphRunStatistics
impl Clone for GlyphRunStatistics
Source§fn clone(&self) -> GlyphRunStatistics
fn clone(&self) -> GlyphRunStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlyphRunStatistics
Source§impl Debug for GlyphRunStatistics
impl Debug for GlyphRunStatistics
impl Eq for GlyphRunStatistics
Source§impl PartialEq for GlyphRunStatistics
impl PartialEq for GlyphRunStatistics
impl StructuralPartialEq for GlyphRunStatistics
Auto Trait Implementations§
impl Freeze for GlyphRunStatistics
impl RefUnwindSafe for GlyphRunStatistics
impl Send for GlyphRunStatistics
impl Sync for GlyphRunStatistics
impl Unpin for GlyphRunStatistics
impl UnsafeUnpin for GlyphRunStatistics
impl UnwindSafe for GlyphRunStatistics
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.