[][src]Struct fontdue::raw::TableVhea

pub struct TableVhea {
    pub version: u32,
    pub ascent: i16,
    pub descent: i16,
    pub line_gap: i16,
    pub advance_height_max: u16,
    pub min_top_side_bearing: i16,
    pub min_bottom_side_bearing: i16,
    pub ymax_extent: i16,
    pub caret_slope_rise: i16,
    pub caret_slope_run: i16,
    pub caret_offset: i16,
    pub metric_data_format: i16,
    pub num_long_vmetrics: u16,
}

Fields

version: u32ascent: i16descent: i16line_gap: i16advance_height_max: u16min_top_side_bearing: i16min_bottom_side_bearing: i16ymax_extent: i16caret_slope_rise: i16caret_slope_run: i16caret_offset: i16metric_data_format: i16num_long_vmetrics: u16

Implementations

impl TableVhea[src]

pub fn new(vhea: &[u8]) -> FontResult<TableVhea>[src]

Trait Implementations

impl Debug for TableVhea[src]

impl PartialEq<TableVhea> for TableVhea[src]

impl StructuralPartialEq for TableVhea[src]

Auto Trait Implementations

impl Send for TableVhea

impl Sync for TableVhea

impl Unpin for TableVhea

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, 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.