Enum truetype::tables::glyph_mapping::GlyphMapping
source · pub enum GlyphMapping {
HalfOffsets(Vec<u16>),
Offsets(Vec<u32>),
}
Expand description
A glyph-to-location mapping.
Variants§
Trait Implementations§
source§impl Clone for GlyphMapping
impl Clone for GlyphMapping
source§fn clone(&self) -> GlyphMapping
fn clone(&self) -> GlyphMapping
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 GlyphMapping
impl Debug for GlyphMapping
source§impl<'l> Read<'l> for GlyphMapping
impl<'l> Read<'l> for GlyphMapping
Auto Trait Implementations§
impl RefUnwindSafe for GlyphMapping
impl Send for GlyphMapping
impl Sync for GlyphMapping
impl Unpin for GlyphMapping
impl UnwindSafe for GlyphMapping
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