Struct truetype::naming_table::NamingTable0 [] [src]

pub struct NamingTable0 {
    pub format: u16,
    pub count: u16,
    pub offset: u16,
    pub records: Vec<Record>,
    pub data: Vec<u8>,
}

A naming table in format 0.

Fields

format: u16 count: u16 offset: u16 records: Vec<Record> data: Vec<u8>

Methods

impl NamingTable0
[src]

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

Trait Implementations

impl PartialEq for NamingTable0
[src]

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

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

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

This method tests for !=.

impl Eq for NamingTable0
[src]

impl Debug for NamingTable0
[src]

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

Formats the value using the given formatter.

impl Clone for NamingTable0
[src]

fn clone(&self) -> NamingTable0

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

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

Read a value.