Struct truetype::char_mapping::Record [] [src]

pub struct Record {
    pub platform_id: u16,
    pub encoding_id: u16,
    pub offset: u32,
}

A record of a char-to-glyph mapping.

Fields

platform_id: u16 encoding_id: u16 offset: u32

Trait Implementations

impl Copy for Record
[src]

impl PartialEq for Record
[src]

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

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

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

This method tests for !=.

impl Eq for Record
[src]

impl Debug for Record
[src]

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

Formats the value using the given formatter.

impl Clone for Record
[src]

fn clone(&self) -> Record

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

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

Read a value.