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§
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 for FT_Glyph_Metrics
impl PartialEq for FT_Glyph_Metrics
impl Copy for FT_Glyph_Metrics
impl Eq for FT_Glyph_Metrics
impl StructuralPartialEq for FT_Glyph_Metrics
Auto Trait Implementations§
impl Freeze for FT_Glyph_Metrics
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)