Struct truetype::NamingTable1 [] [src]

pub struct NamingTable1 {
    pub format: u16,
    pub count: u16,
    pub offset: u16,
    pub records: Vec<NameRecord>,
    pub language_tag_count: u16,
    pub language_tags: Vec<LanguageTagRecord>,
    pub storage: Vec<u8>,
}

A naming table of format 1.

Fields

format: u16 count: u16 offset: u16 records: Vec<NameRecord> language_tag_count: u16 language_tags: Vec<LanguageTagRecord> storage: Vec<u8>

Methods

impl NamingTable1
[src]

fn strings(&self) -> Result<Vec<String>>

Trait Implementations

impl PartialEq for NamingTable1
[src]

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

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

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

This method tests for !=.

impl Eq for NamingTable1
[src]

impl Default for NamingTable1
[src]

fn default() -> NamingTable1

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

impl Debug for NamingTable1
[src]

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

Formats the value using the given formatter.

impl Clone for NamingTable1
[src]

fn clone(&self) -> NamingTable1

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

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

Read a value.