[][src]Struct blend2d::font_defs::FontMetrics

#[repr(C)]
pub struct FontMetrics {
    pub size: f32,
    pub horizontal_ascent: f32,
    pub vertical_ascent: f32,
    pub horizontal_descent: f32,
    pub vertical_descent: f32,
    pub line_gap: f32,
    pub x_height: f32,
    pub cap_height: f32,
    pub underline_position: f32,
    pub underline_thickness: f32,
    pub strikethrough_position: f32,
    pub strikethrough_thickness: f32,
}

Fields

size: f32horizontal_ascent: f32vertical_ascent: f32horizontal_descent: f32vertical_descent: f32line_gap: f32x_height: f32cap_height: f32underline_position: f32underline_thickness: f32strikethrough_position: f32strikethrough_thickness: f32

Trait Implementations

impl Debug for FontMetrics[src]

Auto Trait Implementations

Blanket Implementations

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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