Struct truetype::font_header::FontHeader[][src]

pub struct FontHeader {
    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,
}

A font header.

Fields

major_version: u16minor_version: u16revision: q32checksum_adjustment: u32magic_number: u32flags: Flagsunits_per_em: u16created: i64modified: i64min_x: i16min_y: i16max_x: i16max_y: i16mac_style: u16lowest_ppem: u16direction_hint: i16glyph_mapping_format: i16glyph_data_format: i16

Trait Implementations

impl Clone for FontHeader[src]

impl Copy for FontHeader[src]

impl Debug for FontHeader[src]

impl Default for FontHeader[src]

impl Value for FontHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.