pub struct EmbeddedMetrics {
    pub ppem_x: u8,
    pub ppem_y: u8,
    /* private fields */
}
Expand description

Metrics embedded alongside the bitmap.

One or both of the horizontal or vertical metrics with always be present.

Fields

ppem_x: u8

Horizontal pixels per em.

ppem_y: u8

Vertical pixels per em.

Implementations

Metrics for horizontal layout.

Metrics for vertical layout.

Trait Implementations

Formats the value using the given formatter. Read more
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.

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.