pub struct GlyphBoundsPoints {
pub advance: f32,
pub x_min: f32,
pub y_min: f32,
pub x_max: f32,
pub y_max: f32,
}Expand description
A glyph’s advance and control box in points, y up.
Fields§
§advance: f32Horizontal advance.
x_min: f32Left edge of the control box.
y_min: f32Bottom edge of the control box.
x_max: f32Right edge of the control box.
y_max: f32Top edge of the control box.
Trait Implementations§
Source§impl Clone for GlyphBoundsPoints
impl Clone for GlyphBoundsPoints
impl Copy for GlyphBoundsPoints
Source§impl Debug for GlyphBoundsPoints
impl Debug for GlyphBoundsPoints
Source§impl Default for GlyphBoundsPoints
impl Default for GlyphBoundsPoints
Source§impl PartialEq for GlyphBoundsPoints
impl PartialEq for GlyphBoundsPoints
impl StructuralPartialEq for GlyphBoundsPoints
Auto Trait Implementations§
impl Freeze for GlyphBoundsPoints
impl RefUnwindSafe for GlyphBoundsPoints
impl Send for GlyphBoundsPoints
impl Sync for GlyphBoundsPoints
impl Unpin for GlyphBoundsPoints
impl UnsafeUnpin for GlyphBoundsPoints
impl UnwindSafe for GlyphBoundsPoints
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