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 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 Debug for GlyphMapping
[src]
impl<'l> Walue<'l> for GlyphMapping
[src]
type Parameter = (&'l FontHeader, &'l MaximumProfile)
The parameter type.
fn read<T: Tape>(tape: &mut T,
(header, profile): Self::Parameter)
-> Result<Self>
(header, profile): Self::Parameter)
-> Result<Self>
Read a value.