Struct freetype_sys::FT_Glyph_Metrics
source · #[repr(C)]pub struct FT_Glyph_Metrics {
pub width: FT_Pos,
pub height: FT_Pos,
pub horiBearingX: FT_Pos,
pub horiBearingY: FT_Pos,
pub horiAdvance: FT_Pos,
pub vertBearingX: FT_Pos,
pub vertBearingY: FT_Pos,
pub vertAdvance: FT_Pos,
}Fields§
§width: FT_Pos§height: FT_Pos§horiBearingX: FT_Pos§horiBearingY: FT_Pos§horiAdvance: FT_Pos§vertBearingX: FT_Pos§vertBearingY: FT_Pos§vertAdvance: FT_PosTrait Implementations§
source§impl Clone for FT_Glyph_Metrics
impl Clone for FT_Glyph_Metrics
source§fn clone(&self) -> FT_Glyph_Metrics
fn clone(&self) -> FT_Glyph_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_Glyph_Metrics
impl Debug for FT_Glyph_Metrics
source§impl Hash for FT_Glyph_Metrics
impl Hash for FT_Glyph_Metrics
source§impl PartialEq<FT_Glyph_Metrics> for FT_Glyph_Metrics
impl PartialEq<FT_Glyph_Metrics> for FT_Glyph_Metrics
source§fn eq(&self, other: &FT_Glyph_Metrics) -> bool
fn eq(&self, other: &FT_Glyph_Metrics) -> bool
This method tests for
self and other values to be equal, and is used
by ==.