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§
Auto Trait Implementations§
impl Freeze 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