pub struct FontHeader {
Show 18 fields pub major_version: u16, pub minor_version: u16, pub revision: q32, pub checksum_adjustment: u32, pub magic_number: u32, pub flags: Flags, pub units_per_em: u16, pub created: i64, pub modified: i64, pub min_x: i16, pub min_y: i16, pub max_x: i16, pub max_y: i16, pub mac_style: u16, pub lowest_ppem: u16, pub direction_hint: i16, pub glyph_mapping_format: i16, pub glyph_data_format: i16,
}
Expand description

A font header.

Fields§

§major_version: u16§minor_version: u16§revision: q32§checksum_adjustment: u32§magic_number: u32§flags: Flags§units_per_em: u16§created: i64§modified: i64§min_x: i16§min_y: i16§max_x: i16§max_y: i16§mac_style: u16§lowest_ppem: u16§direction_hint: i16§glyph_mapping_format: i16§glyph_data_format: i16

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Read a value.

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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. 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.