Struct truetype::naming_table::NamingTable1 [] [src]

pub struct NamingTable1 {
    pub format: u16,
    pub count: u16,
    pub offset: u16,
    pub records: Vec<Record>,
    pub language_count: u16,
    pub languages: Vec<Language>,
    pub data: Vec<u8>,
}

A naming table in format 1.

Fields

format: u16 count: u16 offset: u16 records: Vec<Record> language_count: u16 languages: Vec<Language> data: 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 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.