Skip to main content

OS2Table

Struct OS2Table 

Source
pub struct OS2Table { /* private fields */ }

Implementations§

Source§

impl OS2Table

Source

pub fn version(&self) -> u16

Source

pub fn x_avg_char_width(&self) -> i16

Source

pub fn us_weight_class(&self) -> u16

Source

pub fn us_width_class(&self) -> u16

Source

pub fn fs_type(&self) -> u16

Source

pub fn y_subscript_x_size(&self) -> i16

Source

pub fn y_subscript_y_size(&self) -> i16

Source

pub fn y_subscript_x_offset(&self) -> i16

Source

pub fn y_subscript_y_offset(&self) -> i16

Source

pub fn y_superscript_x_size(&self) -> i16

Source

pub fn y_superscript_y_size(&self) -> i16

Source

pub fn y_superscript_x_offset(&self) -> i16

Source

pub fn y_superscript_y_offset(&self) -> i16

Source

pub fn y_strikeout_size(&self) -> i16

Source

pub fn y_strikeout_position(&self) -> i16

Source

pub fn s_family_class(&self) -> i16

Source

pub fn panose(&self) -> [u8; 10]

Source

pub fn ul_unicode_range_1(&self) -> u32

Source

pub fn ul_unicode_range_2(&self) -> u32

Source

pub fn ul_unicode_range_3(&self) -> u32

Source

pub fn ul_unicode_range_4(&self) -> u32

Source

pub fn ach_vend_id(&self) -> [u8; 4]

Source

pub fn fs_selection(&self) -> u16

Source

pub fn us_first_char_index(&self) -> u16

Source

pub fn us_last_char_index(&self) -> u16

Source

pub fn s_typo_ascender(&self) -> i16

Source

pub fn s_typo_descender(&self) -> i16

Source

pub fn s_typo_line_gap(&self) -> i16

Source

pub fn us_win_ascent(&self) -> u16

Source

pub fn us_win_descent(&self) -> u16

Source

pub fn ul_code_page_range_1(&self) -> Option<u32>

Source

pub fn ul_code_page_range_2(&self) -> Option<u32>

Source

pub fn sx_height(&self) -> Option<i16>

Source

pub fn s_cap_height(&self) -> Option<i16>

Source

pub fn us_default_char(&self) -> Option<u16>

Source

pub fn us_break_char(&self) -> Option<u16>

Source

pub fn us_max_context(&self) -> Option<u16>

Source

pub fn us_lower_optical_point_size(&self) -> Option<u16>

Source

pub fn us_upper_optical_point_size(&self) -> Option<u16>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.