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_Pos
Trait Implementations
sourceimpl Clone for FT_Glyph_Metrics
impl Clone for FT_Glyph_Metrics
sourcefn clone(&self) -> FT_Glyph_Metrics
fn clone(&self) -> FT_Glyph_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 more
sourceimpl Debug for FT_Glyph_Metrics
impl Debug for FT_Glyph_Metrics
sourceimpl Hash for FT_Glyph_Metrics
impl Hash for FT_Glyph_Metrics
sourceimpl PartialEq<FT_Glyph_Metrics> for FT_Glyph_Metrics
impl PartialEq<FT_Glyph_Metrics> for FT_Glyph_Metrics
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &FT_Glyph_Metrics) -> bool
fn ne(&self, other: &FT_Glyph_Metrics) -> bool
This method tests for !=
.
impl Copy for FT_Glyph_Metrics
impl Eq for FT_Glyph_Metrics
impl StructuralEq for FT_Glyph_Metrics
impl StructuralPartialEq for FT_Glyph_Metrics
Auto Trait Implementations
impl RefUnwindSafe for FT_Glyph_Metrics
impl Send for FT_Glyph_Metrics
impl Sync for FT_Glyph_Metrics
impl Unpin for FT_Glyph_Metrics
impl UnwindSafe for FT_Glyph_Metrics
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