pub struct Glyph {
pub horizontal_metrics: HorizontalMetrics,
pub bounds: Rectangle,
pub outline: Vec<PathCommand>,
pub svg_image: Option<Rc<Tree>>,
}
Expand description
A glyph in a font.
Fields§
§horizontal_metrics: HorizontalMetrics
§bounds: Rectangle
§outline: Vec<PathCommand>
§svg_image: Option<Rc<Tree>>
Trait Implementations§
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> ActionTrait for T
impl<T> ActionTrait for T
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