Struct truetype::char_mapping::Encoding6 [] [src]

pub struct Encoding6 {
    pub format: u16,
    pub length: u16,
    pub language: u16,
    pub first_code: u16,
    pub entry_count: u16,
    pub glyph_ids: Vec<GlyphID>,
}

A char-to-glyph encoding in format 6.

Fields

format: u16 length: u16 language: u16 first_code: u16 entry_count: u16 glyph_ids: Vec<GlyphID>

Methods

impl Encoding6
[src]

fn mapping(&self) -> HashMap<u16u16>

Return the mapping.

Trait Implementations

impl PartialEq for Encoding6
[src]

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

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

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

This method tests for !=.

impl Eq for Encoding6
[src]

impl Debug for Encoding6
[src]

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

Formats the value using the given formatter.

impl Clone for Encoding6
[src]

fn clone(&self) -> Encoding6

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 Value for Encoding6
[src]

fn read<T: Tape>(tape: &mut T) -> Result<Self>

Read a value.