Struct freetype::tt_os2::TrueTypeOS2Table
source · [−]pub struct TrueTypeOS2Table { /* private fields */ }
Implementations
sourceimpl TrueTypeOS2Table
impl TrueTypeOS2Table
pub fn from_face(face: &mut Face) -> Option<Self>
pub fn version(&self) -> FT_UShort
pub fn avg_char_width(&self) -> FT_Short
pub fn us_weight_class(&self) -> FT_UShort
pub fn us_width_class(&self) -> FT_UShort
pub fn fs_type(&self) -> FT_UShort
pub fn y_subscript_x_size(&self) -> FT_Short
pub fn y_subscript_y_size(&self) -> FT_Short
pub fn y_subscript_x_offset(&self) -> FT_Short
pub fn y_subscript_y_offset(&self) -> FT_Short
pub fn y_superscript_x_size(&self) -> FT_Short
pub fn y_superscript_y_size(&self) -> FT_Short
pub fn y_superscript_x_offset(&self) -> FT_Short
pub fn y_superscript_y_offset(&self) -> FT_Short
pub fn y_strikeout_size(&self) -> FT_Short
pub fn y_strikeout_position(&self) -> FT_Short
pub fn s_family_class(&self) -> FT_Short
pub fn fs_selection(&self) -> FT_UShort
pub fn s_typo_ascender(&self) -> FT_Short
pub fn s_typo_descender(&self) -> FT_Short
pub fn s_typo_line_gap(&self) -> FT_Short
pub fn x_height(&self) -> FT_Short
Trait Implementations
sourceimpl Clone for TrueTypeOS2Table
impl Clone for TrueTypeOS2Table
sourcefn clone(&self) -> TrueTypeOS2Table
fn clone(&self) -> TrueTypeOS2Table
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for TrueTypeOS2Table
Auto Trait Implementations
impl RefUnwindSafe for TrueTypeOS2Table
impl !Send for TrueTypeOS2Table
impl !Sync for TrueTypeOS2Table
impl Unpin for TrueTypeOS2Table
impl UnwindSafe for TrueTypeOS2Table
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more