pub struct AtlasRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
Where a glyph sits in the atlas, in texels.
Fields§
§x: u32§y: u32§width: u32§height: u32Implementations§
Trait Implementations§
impl Copy for AtlasRect
impl Eq for AtlasRect
impl StructuralPartialEq for AtlasRect
Auto Trait Implementations§
impl Freeze for AtlasRect
impl RefUnwindSafe for AtlasRect
impl Send for AtlasRect
impl Sync for AtlasRect
impl Unpin for AtlasRect
impl UnsafeUnpin for AtlasRect
impl UnwindSafe for AtlasRect
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