logo
pub struct HmtxTable<'a> {
    pub h_metrics: ReadArrayCow<'a, LongHorMetric>,
    pub left_side_bearings: ReadArrayCow<'a, I16Be>,
}
Expand description

hmtx horizontal metrics table

https://docs.microsoft.com/en-us/typography/opentype/spec/hmtx

This struct is also used for vmtx table.

Fields

h_metrics: ReadArrayCow<'a, LongHorMetric>left_side_bearings: ReadArrayCow<'a, I16Be>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

The type of the value returned by write.

Write the binary representation of Self to ctxt.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type of the arguments supplied to write_dep.

The type of the value returned by write_dep.

Write the binary representation of Self to ctxt.