Enum truetype::glyph_mapping::GlyphMapping
[−]
[src]
pub enum GlyphMapping { HalfOffsets(Vec<u16>), Offsets(Vec<u32>), }
A glyph-to-location mapping.
Variants
HalfOffsets(Vec<u16>)
Offsets devided by two.
Offsets(Vec<u32>)
Offsets.
Trait Implementations
impl PartialEq for GlyphMapping
[src]
fn eq(&self, __arg_0: &GlyphMapping) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlyphMapping) -> bool
This method tests for !=
.
impl Eq for GlyphMapping
[src]
impl Debug for GlyphMapping
[src]
impl Clone for GlyphMapping
[src]
fn clone(&self) -> GlyphMapping
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'l> Walue<(&'l FontHeader, &'l MaximumProfile)> for GlyphMapping
[src]
fn read<T: Tape>(tape: &mut T, (header, profile): (&FontHeader, &MaximumProfile)) -> Result<Self>
Read a value.