pub struct Os2 {Show 29 fields
pub version: u16,
pub x_avg_char_width: i16,
pub us_weight_class: u16,
pub us_width_class: u16,
pub fs_type: u16,
pub y_subscript_x_size: i16,
pub y_subscript_y_size: i16,
pub y_subscript_x_offset: i16,
pub y_subscript_y_offset: i16,
pub y_superscript_x_size: i16,
pub y_superscript_y_size: i16,
pub y_superscript_x_offset: i16,
pub y_superscript_y_offset: i16,
pub y_strikeout_size: i16,
pub y_strikeout_position: i16,
pub s_family_class: i16,
pub panose: [u8; 10],
pub ul_unicode_range1: u32,
pub ul_unicode_range2: u32,
pub ul_unicode_range3: u32,
pub ul_unicode_range4: u32,
pub ach_vend_id: u32,
pub fs_selection: FsSelection,
pub us_first_char_index: u16,
pub us_last_char_index: u16,
pub version0: Option<Version0>,
pub version1: Option<Version1>,
pub version2to4: Option<Version2to4>,
pub version5: Option<Version5>,
}Expand description
Fields§
§version: u16§x_avg_char_width: i16§us_weight_class: u16§us_width_class: u16§fs_type: u16§y_subscript_x_size: i16§y_subscript_y_size: i16§y_subscript_x_offset: i16§y_subscript_y_offset: i16§y_superscript_x_size: i16§y_superscript_y_size: i16§y_superscript_x_offset: i16§y_superscript_y_offset: i16§y_strikeout_size: i16§y_strikeout_position: i16§s_family_class: i16§panose: [u8; 10]§ul_unicode_range1: u32§ul_unicode_range2: u32§ul_unicode_range3: u32§ul_unicode_range4: u32§ach_vend_id: u32§fs_selection: FsSelection§us_first_char_index: u16§us_last_char_index: u16§version0: Option<Version0>§version1: Option<Version1>§version2to4: Option<Version2to4>§version5: Option<Version5>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Os2
impl RefUnwindSafe for Os2
impl Send for Os2
impl Sync for Os2
impl Unpin for Os2
impl UnwindSafe for Os2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
Source§type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by
write_dep.Source§fn write_dep<C>(
ctxt: &mut C,
val: HostType,
_: <T as WriteBinaryDep<HostType>>::Args,
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
_: <T as WriteBinaryDep<HostType>>::Args,
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError>where
C: WriteContext,
Write the binary representation of Self to
ctxt.