Enum read_fonts::tables::cmap::MapVariant
source · pub enum MapVariant {
UseDefault,
Variant(GlyphId),
}Expand description
Result of the mapping a codepoint with a variation selector.
Variants§
UseDefault
The variation selector should be ignored and the default mapping of the character should be used.
Variant(GlyphId)
The variant glyph mapped by a codepoint and associated variation selector.
Trait Implementations§
source§impl Clone for MapVariant
impl Clone for MapVariant
source§fn clone(&self) -> MapVariant
fn clone(&self) -> MapVariant
Returns a copy 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 MapVariant
impl Debug for MapVariant
source§impl PartialEq<MapVariant> for MapVariant
impl PartialEq<MapVariant> for MapVariant
source§fn eq(&self, other: &MapVariant) -> bool
fn eq(&self, other: &MapVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.