Struct allsorts_no_std::tables::HheaTable[][src]

pub struct HheaTable {
    pub ascender: i16,
    pub descender: i16,
    pub line_gap: i16,
    pub advance_width_max: u16,
    pub min_left_side_bearing: i16,
    pub min_right_side_bearing: i16,
    pub x_max_extent: i16,
    pub caret_slope_rise: i16,
    pub caret_slope_run: i16,
    pub caret_offset: i16,
    pub num_h_metrics: u16,
}

hhea horizontal header table

This table contains information for horizontal layout.

https://docs.microsoft.com/en-us/typography/opentype/spec/hhea

This struct is also used for the vhea table.

Fields

ascender: i16descender: i16line_gap: i16advance_width_max: u16min_left_side_bearing: i16min_right_side_bearing: i16x_max_extent: i16caret_slope_rise: i16caret_slope_run: i16caret_offset: i16num_h_metrics: u16

Trait Implementations

impl Clone for HheaTable[src]

impl Debug for HheaTable[src]

impl Hash for HheaTable[src]

impl PartialEq<HheaTable> for HheaTable[src]

impl PartialOrd<HheaTable> for HheaTable[src]

impl<'a> ReadBinary<'a> for HheaTable[src]

type HostType = Self

impl StructuralPartialEq for HheaTable[src]

impl<'a> WriteBinary<&'_ HheaTable> for HheaTable[src]

type Output = ()

The type of the value returned by write.

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<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

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, HostType> WriteBinaryDep<HostType> for T where
    T: WriteBinary<HostType>, 
[src]

type Args = ()

The type of the arguments supplied to write_dep.

type Output = <T as WriteBinary<HostType>>::Output

The type of the value returned by write_dep.