pub enum MapVariant {
UseDefault,
Variant(GlyphId),
}
Expand description
Result of 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 for MapVariant
impl PartialEq for MapVariant
impl Copy for MapVariant
impl Eq for MapVariant
impl StructuralPartialEq for MapVariant
Auto Trait Implementations§
impl Freeze for MapVariant
impl RefUnwindSafe for MapVariant
impl Send for MapVariant
impl Sync for MapVariant
impl Unpin for MapVariant
impl UnwindSafe for MapVariant
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