Struct truetype::font_header::FontHeader [−][src]
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
impl Clone for FontHeader
[src]
fn clone(&self) -> FontHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FontHeader
[src]
impl Debug for FontHeader
[src]
impl Default for FontHeader
[src]
fn default() -> FontHeader
[src]
impl Value for FontHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontHeader
[src]
impl Send for FontHeader
[src]
impl Sync for FontHeader
[src]
impl Unpin for FontHeader
[src]
impl UnwindSafe for FontHeader
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,