Struct truetype::LongHorizontalMetric [] [src]

pub struct LongHorizontalMetric {
    pub advance_width: u16,
    pub left_side_bearing: i16,
}

A record of horizontal metrics.

Fields

advance_width: u16 left_side_bearing: i16

Trait Implementations

impl Copy for LongHorizontalMetric
[src]

impl PartialEq for LongHorizontalMetric
[src]

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

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

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

This method tests for !=.

impl Eq for LongHorizontalMetric
[src]

impl Default for LongHorizontalMetric
[src]

fn default() -> LongHorizontalMetric

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

impl Debug for LongHorizontalMetric
[src]

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

Formats the value using the given formatter.

impl Clone for LongHorizontalMetric
[src]

fn clone(&self) -> LongHorizontalMetric

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

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

Read a value.