pub enum GlyphType<'a> {
Outline(OutlineGlyph<'a>),
Bitmap(BitmapGlyph),
Colr(Box<ColorGlyph<'a>>),
}
Expand description
A type of glyph.
Variants§
Outline(OutlineGlyph<'a>)
An outline glyph.
Bitmap(BitmapGlyph)
A bitmap glyph.
Colr(Box<ColorGlyph<'a>>)
A COLR glyph.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GlyphType<'a>
impl<'a> RefUnwindSafe for GlyphType<'a>
impl<'a> Send for GlyphType<'a>
impl<'a> Sync for GlyphType<'a>
impl<'a> Unpin for GlyphType<'a>
impl<'a> UnwindSafe for GlyphType<'a>
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