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
sourceimpl Clone for FT_Size_Metrics
impl Clone for FT_Size_Metrics
sourcefn clone(&self) -> FT_Size_Metrics
fn clone(&self) -> FT_Size_Metrics
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 moresourceimpl Debug for FT_Size_Metrics
impl Debug for FT_Size_Metrics
sourceimpl Hash for FT_Size_Metrics
impl Hash for FT_Size_Metrics
sourceimpl PartialEq<FT_Size_Metrics> for FT_Size_Metrics
impl PartialEq<FT_Size_Metrics> for FT_Size_Metrics
sourcefn eq(&self, other: &FT_Size_Metrics) -> bool
fn eq(&self, other: &FT_Size_Metrics) -> bool
impl Copy for FT_Size_Metrics
impl Eq for FT_Size_Metrics
impl StructuralEq for FT_Size_Metrics
impl StructuralPartialEq for FT_Size_Metrics
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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