Enum truetype::glyph_location::GlyphLocation [] [src]

pub enum GlyphLocation {
    HalfOffsets(Vec<u16>),
    Offsets(Vec<u32>),
}

An index-to-location table.

Variants

HalfOffsets(Vec<u16>)

Offsets devided by two.

Offsets(Vec<u32>)

Offsets.

Trait Implementations

impl PartialEq for GlyphLocation
[src]

fn eq(&self, __arg_0: &GlyphLocation) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &GlyphLocation) -> bool

This method tests for !=.

impl Eq for GlyphLocation
[src]

impl Debug for GlyphLocation
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for GlyphLocation
[src]

fn clone(&self) -> GlyphLocation

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 GlyphLocation
[src]

fn read<T: Tape>(tape: &mut T, (header, profile): (&FontHeader, &MaximumProfile)) -> Result<Self>

Read a value.