[][src]Struct printpdf::types::plugins::graphics::two_dimensional::font::FontMetrics

pub struct FontMetrics {
    pub ascent: i16,
    pub descent: i16,
    pub units_per_em: u16,
}

The unscaled base metrics for a font provided by a FontData implementation.

Fields

ascent: i16

The ascent of the font.

descent: i16

The descent of the font.

units_per_em: u16

The units per em square for this font.

Trait Implementations

impl Clone for FontMetrics[src]

impl Copy for FontMetrics[src]

impl Debug for FontMetrics[src]

impl Default for FontMetrics[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.