pub struct Glyph {
pub horizontal_metrics: HorizontalMetrics,
pub bounds: Rectangle,
pub outline: Vec<PathCommand>,
}
Expand description
A glyph in a font.
Fields§
§horizontal_metrics: HorizontalMetrics
§bounds: Rectangle
§outline: Vec<PathCommand>
Trait Implementations§
impl StructuralPartialEq for Glyph
Auto Trait Implementations§
impl Freeze for Glyph
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin 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