pub struct GlyphRect {
pub x1: i32,
pub y1: i32,
pub x2: i32,
pub y2: i32,
pub dx: f64,
pub dy: f64,
}Expand description
Bounding box and advance of a raster glyph.
Fields§
§x1: i32§y1: i32§x2: i32§y2: i32§dx: f64§dy: f64Trait Implementations§
impl Copy for GlyphRect
Auto Trait Implementations§
impl Freeze for GlyphRect
impl RefUnwindSafe for GlyphRect
impl Send for GlyphRect
impl Sync for GlyphRect
impl Unpin for GlyphRect
impl UnwindSafe for GlyphRect
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