Struct freetype_sys::TT_OS2

source ·
#[repr(C)]
pub struct TT_OS2 {
Show 37 fields pub version: FT_UShort, pub xAvgCharWidth: FT_Short, pub usWeightClass: FT_UShort, pub usWidthClass: FT_UShort, pub fsType: FT_UShort, pub ySubscriptXSize: FT_Short, pub ySubscriptYSize: FT_Short, pub ySubscriptXOffset: FT_Short, pub ySubscriptYOffset: FT_Short, pub ySuperscriptXSize: FT_Short, pub ySuperscriptYSize: FT_Short, pub ySuperscriptXOffset: FT_Short, pub ySuperscriptYOffset: FT_Short, pub yStrikeoutSize: FT_Short, pub yStrikeoutPosition: FT_Short, pub sFamilyClass: FT_Short, pub panose: [FT_Byte; 10], pub ulUnicodeRange1: FT_ULong, pub ulUnicodeRange2: FT_ULong, pub ulUnicodeRange3: FT_ULong, pub ulUnicodeRange4: FT_ULong, pub achVendID: [FT_Char; 4], pub fsSelection: FT_UShort, pub usFirstCharIndex: FT_UShort, pub usLastCharIndex: FT_UShort, pub sTypoAscender: FT_Short, pub sTypoDescender: FT_Short, pub sTypoLineGap: FT_Short, pub usWinAscent: FT_UShort, pub usWinDescent: FT_UShort, pub ulCodePageRange1: FT_ULong, pub ulCodePageRange2: FT_ULong, pub sxHeight: FT_Short, pub sCapHeight: FT_Short, pub usDefaultChar: FT_UShort, pub usBreakChar: FT_UShort, pub usMaxContext: FT_UShort,
}

Fields§

§version: FT_UShort§xAvgCharWidth: FT_Short§usWeightClass: FT_UShort§usWidthClass: FT_UShort§fsType: FT_UShort§ySubscriptXSize: FT_Short§ySubscriptYSize: FT_Short§ySubscriptXOffset: FT_Short§ySubscriptYOffset: FT_Short§ySuperscriptXSize: FT_Short§ySuperscriptYSize: FT_Short§ySuperscriptXOffset: FT_Short§ySuperscriptYOffset: FT_Short§yStrikeoutSize: FT_Short§yStrikeoutPosition: FT_Short§sFamilyClass: FT_Short§panose: [FT_Byte; 10]§ulUnicodeRange1: FT_ULong§ulUnicodeRange2: FT_ULong§ulUnicodeRange3: FT_ULong§ulUnicodeRange4: FT_ULong§achVendID: [FT_Char; 4]§fsSelection: FT_UShort§usFirstCharIndex: FT_UShort§usLastCharIndex: FT_UShort§sTypoAscender: FT_Short§sTypoDescender: FT_Short§sTypoLineGap: FT_Short§usWinAscent: FT_UShort§usWinDescent: FT_UShort§ulCodePageRange1: FT_ULong§ulCodePageRange2: FT_ULong§sxHeight: FT_Short§sCapHeight: FT_Short§usDefaultChar: FT_UShort§usBreakChar: FT_UShort§usMaxContext: FT_UShort

Trait Implementations§

source§

impl Clone for TT_OS2

source§

fn clone(&self) -> TT_OS2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TT_OS2

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for TT_OS2

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for TT_OS2

source§

fn eq(&self, other: &TT_OS2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for TT_OS2

source§

impl Eq for TT_OS2

source§

impl StructuralPartialEq for TT_OS2

Auto Trait Implementations§

§

impl Freeze for TT_OS2

§

impl RefUnwindSafe for TT_OS2

§

impl Send for TT_OS2

§

impl Sync for TT_OS2

§

impl Unpin for TT_OS2

§

impl UnwindSafe for TT_OS2

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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

§

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.