Struct truetype::CharMappingEncoding6 [] [src]

pub struct CharMappingEncoding6 {
    pub format: u16,
    pub length: u16,
    pub language: u16,
    pub first_code: u16,
    pub entry_count: u16,
    pub glyph_indices: Vec<u16>,
}

A char-to-glyph encoding of format 6.

Fields

format: u16 length: u16 language: u16 first_code: u16 entry_count: u16 glyph_indices: Vec<u16>

Methods

impl CharMappingEncoding6
[src]

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

Return the mapping.

Trait Implementations

impl PartialEq for CharMappingEncoding6
[src]

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

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

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

This method tests for !=.

impl Eq for CharMappingEncoding6
[src]

impl Default for CharMappingEncoding6
[src]

fn default() -> CharMappingEncoding6

Returns the "default value" for a type. Read more

impl Debug for CharMappingEncoding6
[src]

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

Formats the value using the given formatter.

impl Clone for CharMappingEncoding6
[src]

fn clone(&self) -> CharMappingEncoding6

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

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

Read a value.