pub struct GlyphOutline {
pub units_per_em: u16,
pub commands: Vec<OutlineCommand>,
}Expand description
Glyph outline in font design units, y up, empty for blank glyphs such as spaces.
Fields§
§units_per_em: u16Design units per em of the font.
commands: Vec<OutlineCommand>Contour commands.
Trait Implementations§
Source§impl Clone for GlyphOutline
impl Clone for GlyphOutline
Source§impl Debug for GlyphOutline
impl Debug for GlyphOutline
Source§impl Default for GlyphOutline
impl Default for GlyphOutline
Source§impl PartialEq for GlyphOutline
impl PartialEq for GlyphOutline
impl StructuralPartialEq for GlyphOutline
Auto Trait Implementations§
impl Freeze for GlyphOutline
impl RefUnwindSafe for GlyphOutline
impl Send for GlyphOutline
impl Sync for GlyphOutline
impl Unpin for GlyphOutline
impl UnsafeUnpin for GlyphOutline
impl UnwindSafe for GlyphOutline
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