Struct freetype_sys::FT_Size_Metrics
source · #[repr(C)]pub struct FT_Size_Metrics {
pub x_ppem: FT_UShort,
pub y_ppem: FT_UShort,
pub x_scale: FT_Fixed,
pub y_scale: FT_Fixed,
pub ascender: FT_Pos,
pub descender: FT_Pos,
pub height: FT_Pos,
pub max_advance: FT_Pos,
}
Fields§
§x_ppem: FT_UShort
§y_ppem: FT_UShort
§x_scale: FT_Fixed
§y_scale: FT_Fixed
§ascender: FT_Pos
§descender: FT_Pos
§height: FT_Pos
§max_advance: FT_Pos
Trait Implementations§
source§impl Clone for FT_Size_Metrics
impl Clone for FT_Size_Metrics
source§fn clone(&self) -> FT_Size_Metrics
fn clone(&self) -> FT_Size_Metrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FT_Size_Metrics
impl Debug for FT_Size_Metrics
source§impl Hash for FT_Size_Metrics
impl Hash for FT_Size_Metrics
source§impl PartialEq for FT_Size_Metrics
impl PartialEq for FT_Size_Metrics
source§fn eq(&self, other: &FT_Size_Metrics) -> bool
fn eq(&self, other: &FT_Size_Metrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FT_Size_Metrics
impl Eq for FT_Size_Metrics
impl StructuralPartialEq for FT_Size_Metrics
Auto Trait Implementations§
impl Freeze for FT_Size_Metrics
impl RefUnwindSafe for FT_Size_Metrics
impl Send for FT_Size_Metrics
impl Sync for FT_Size_Metrics
impl Unpin for FT_Size_Metrics
impl UnwindSafe for FT_Size_Metrics
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