pub enum GlyphDrawingType {
Outline,
ColorLayers,
Svg,
Bitmap,
}Expand description
The kind of data a glyph is drawn from.
Variants§
Outline
glyf / CFF / CFF2 outlines.
ColorLayers
COLR/CPAL color layers.
Svg
The SVG table.
Bitmap
sbix / CBDT / EBDT bitmaps.
Trait Implementations§
Source§impl Clone for GlyphDrawingType
impl Clone for GlyphDrawingType
impl Copy for GlyphDrawingType
Source§impl Debug for GlyphDrawingType
impl Debug for GlyphDrawingType
impl Eq for GlyphDrawingType
Source§impl Hash for GlyphDrawingType
impl Hash for GlyphDrawingType
Source§impl MarkupTyped for GlyphDrawingType
impl MarkupTyped for GlyphDrawingType
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for GlyphDrawingType
impl PartialEq for GlyphDrawingType
impl StructuralPartialEq for GlyphDrawingType
Auto Trait Implementations§
impl Freeze for GlyphDrawingType
impl RefUnwindSafe for GlyphDrawingType
impl Send for GlyphDrawingType
impl Sync for GlyphDrawingType
impl Unpin for GlyphDrawingType
impl UnsafeUnpin for GlyphDrawingType
impl UnwindSafe for GlyphDrawingType
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more