pub struct AtlasReport {
pub pages: u32,
pub bytes: u64,
pub entries: u32,
}Expand description
AtlasReport summarizes one glyph-atlas family.
Fields§
§pages: u32pages is the number of allocated atlas textures.
bytes: u64bytes is their estimated GPU memory usage.
entries: u32entries is the number of resident rasterized glyphs.
Whitespace placeholders are excluded.
Trait Implementations§
Source§impl Clone for AtlasReport
impl Clone for AtlasReport
Source§fn clone(&self) -> AtlasReport
fn clone(&self) -> AtlasReport
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 AtlasReport
Source§impl Debug for AtlasReport
impl Debug for AtlasReport
Source§impl Default for AtlasReport
impl Default for AtlasReport
Source§fn default() -> AtlasReport
fn default() -> AtlasReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AtlasReport
impl RefUnwindSafe for AtlasReport
impl Send for AtlasReport
impl Sync for AtlasReport
impl Unpin for AtlasReport
impl UnsafeUnpin for AtlasReport
impl UnwindSafe for AtlasReport
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