pub enum GlyphNameSource {
Post,
Cff,
Synthesized,
}
Expand description
Specifies the chosen source for glyph names.
Variants§
Post
Glyph names are sourced from the post
table.
Cff
Glyph names are sourced from the CFF
table.
Synthesized
Glyph names are synthesized in the format gidDDD
where DDD
is
the glyph identifier in decimal.
Trait Implementations§
Source§impl Clone for GlyphNameSource
impl Clone for GlyphNameSource
Source§fn clone(&self) -> GlyphNameSource
fn clone(&self) -> GlyphNameSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GlyphNameSource
impl Debug for GlyphNameSource
Source§impl PartialEq for GlyphNameSource
impl PartialEq for GlyphNameSource
impl Copy for GlyphNameSource
impl Eq for GlyphNameSource
impl StructuralPartialEq for GlyphNameSource
Auto Trait Implementations§
impl Freeze for GlyphNameSource
impl RefUnwindSafe for GlyphNameSource
impl Send for GlyphNameSource
impl Sync for GlyphNameSource
impl Unpin for GlyphNameSource
impl UnwindSafe for GlyphNameSource
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