Struct truetype::compound::HorizontalMetrics [] [src]

pub struct HorizontalMetrics {
    pub hMetrics: Vec<LongHorizontalMetric>,
    pub leftSideBearing: Vec<i16>,
}

Horizontal metrics.

Fields

hMetrics: Vec<LongHorizontalMetric> leftSideBearing: Vec<i16>

Methods

impl HorizontalMetrics
[src]

fn read<T: Tape>(tape: &mut T, header: &HorizontalHeader, profile: &MaximumProfile) -> Result<Self>

Read the table.

Trait Implementations

impl PartialEq for HorizontalMetrics
[src]

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

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

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

This method tests for !=.

impl Eq for HorizontalMetrics
[src]

impl Default for HorizontalMetrics
[src]

fn default() -> HorizontalMetrics

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

impl Debug for HorizontalMetrics
[src]

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

Formats the value using the given formatter.

impl Clone for HorizontalMetrics
[src]

fn clone(&self) -> HorizontalMetrics

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