[][src]Struct norad::FontInfo

pub struct FontInfo {
    pub family_name: Option<String>,
    pub style_name: Option<String>,
    pub style_map_family_name: Option<String>,
    pub style_map_style_name: Option<String>,
    pub version_major: Option<u32>,
    pub version_minor: Option<u32>,
    pub year: Option<u32>,
    pub copyright: Option<String>,
    pub trademark: Option<String>,
    pub units_per_em: Option<f64>,
    pub descender: Option<f64>,
    pub x_height: Option<f64>,
    pub cap_height: Option<f64>,
    pub ascender: Option<f64>,
    pub italic_angle: Option<f64>,
    pub note: Option<String>,
}

The contents of the fontinfo.plist file.

Fields

family_name: Option<String>style_name: Option<String>style_map_family_name: Option<String>style_map_style_name: Option<String>version_major: Option<u32>version_minor: Option<u32>year: Option<u32>copyright: Option<String>trademark: Option<String>units_per_em: Option<f64>descender: Option<f64>x_height: Option<f64>cap_height: Option<f64>ascender: Option<f64>italic_angle: Option<f64>note: Option<String>

Trait Implementations

impl Clone for FontInfo[src]

impl Default for FontInfo[src]

impl Debug for FontInfo[src]

impl<'de> Deserialize<'de> for FontInfo[src]

impl Serialize for FontInfo[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]