Struct truetype::offset_table::Header [] [src]

pub struct Header {
    pub version: q32,
    pub table_count: u16,
    pub search_range: u16,
    pub entry_selector: u16,
    pub range_shift: u16,
}

The header of an offset table.

Fields

version: q32 table_count: u16 search_range: u16 entry_selector: u16 range_shift: u16

Trait Implementations

impl Copy for Header
[src]

impl PartialEq for Header
[src]

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

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

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

This method tests for !=.

impl Eq for Header
[src]

impl Debug for Header
[src]

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

Formats the value using the given formatter.

impl Clone for Header
[src]

fn clone(&self) -> Header

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

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

Read a value.