pub enum GlyphNameOrder {
Monotonic,
MostlyMonotonicWithBackrefs,
AllPointToLast,
}Variants§
Monotonic
Glyph name indices in strictly increasing order.
MostlyMonotonicWithBackrefs
Glyph name indices in mostly increasing order, with some back references to previous names.
This likely matches most sane font data with duplicate glyph names.
AllPointToLast
All glyph name indices point to the last glyph name.
This is the patholical case, requiring a full scan for each glyph during iteration.
Trait Implementations§
Source§impl Clone for GlyphNameOrder
impl Clone for GlyphNameOrder
Source§fn clone(&self) -> GlyphNameOrder
fn clone(&self) -> GlyphNameOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlyphNameOrder
Source§impl Debug for GlyphNameOrder
impl Debug for GlyphNameOrder
impl Eq for GlyphNameOrder
Source§impl PartialEq for GlyphNameOrder
impl PartialEq for GlyphNameOrder
impl StructuralPartialEq for GlyphNameOrder
Auto Trait Implementations§
impl Freeze for GlyphNameOrder
impl RefUnwindSafe for GlyphNameOrder
impl Send for GlyphNameOrder
impl Sync for GlyphNameOrder
impl Unpin for GlyphNameOrder
impl UnsafeUnpin for GlyphNameOrder
impl UnwindSafe for GlyphNameOrder
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