pub struct Glyph {
pub contours: Vec<Vec<Point>>,
pub advance: f64,
}Expand description
One glyph’s outline in em units: y grows upwards, the baseline is y = 0 and one em is 1.0.
Fields§
§contours: Vec<Vec<Point>>Closed contours of the outline.
advance: f64Advance width in em units.
Trait Implementations§
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Forget for Glyph
impl Freeze for Glyph
impl Move for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnsafeUnpin for Glyph
impl UnwindSafe for Glyph
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