Struct truetype::compound::NameRecord [] [src]

pub struct NameRecord {
    pub platformID: u16,
    pub encodingID: u16,
    pub languageID: u16,
    pub nameID: u16,
    pub length: u16,
    pub offset: u16,
}

A name record of a naming table.

Fields

platformID: u16 encodingID: u16 languageID: u16 nameID: u16 length: u16 offset: u16

Trait Implementations

impl Copy for NameRecord
[src]

impl PartialEq for NameRecord
[src]

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

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

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

This method tests for !=.

impl Eq for NameRecord
[src]

impl Default for NameRecord
[src]

fn default() -> NameRecord

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

impl Debug for NameRecord
[src]

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

Formats the value using the given formatter.

impl Clone for NameRecord
[src]

fn clone(&self) -> NameRecord

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

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

Read a value.