pub struct AtlasStats {
pub width: u32,
pub height: u32,
pub glyph_count: usize,
pub used_height: u32,
pub dirty: bool,
}Expand description
atlas 汇总(Inspector/诊断用;不拷贝像素)
Fields§
§width: u32§height: u32§glyph_count: usize§used_height: u32已分配到的最底行(包含当前行的行高)
dirty: boolTrait Implementations§
Source§impl Clone for AtlasStats
impl Clone for AtlasStats
Source§fn clone(&self) -> AtlasStats
fn clone(&self) -> AtlasStats
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 AtlasStats
Source§impl Debug for AtlasStats
impl Debug for AtlasStats
Source§impl Default for AtlasStats
impl Default for AtlasStats
Source§fn default() -> AtlasStats
fn default() -> AtlasStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for AtlasStats
impl Freeze for AtlasStats
impl Move for AtlasStats
impl RefUnwindSafe for AtlasStats
impl Send for AtlasStats
impl Sync for AtlasStats
impl Unpin for AtlasStats
impl UnsafeUnpin for AtlasStats
impl UnwindSafe for AtlasStats
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