Struct truetype::font_header::FontHeader
[−]
[src]
pub struct FontHeader { pub version: q32, 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_location_format: i16, pub glyph_data_format: i16, }
A font header.
Fields
version: q32
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_location_format: i16
glyph_data_format: i16
Trait Implementations
impl Copy for FontHeader
[src]
impl PartialEq for FontHeader
[src]
fn eq(&self, __arg_0: &FontHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontHeader) -> bool
This method tests for !=
.
impl Eq for FontHeader
[src]
impl Debug for FontHeader
[src]
impl Clone for FontHeader
[src]
fn clone(&self) -> FontHeader
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