Struct harfbuzz_sys::hb_font_extents_t
source · #[repr(C)]pub struct hb_font_extents_t {
pub ascender: hb_position_t,
pub descender: hb_position_t,
pub line_gap: hb_position_t,
pub reserved9: hb_position_t,
pub reserved8: hb_position_t,
pub reserved7: hb_position_t,
pub reserved6: hb_position_t,
pub reserved5: hb_position_t,
pub reserved4: hb_position_t,
pub reserved3: hb_position_t,
pub reserved2: hb_position_t,
pub reserved1: hb_position_t,
}
Expand description
hb_font_extents_t: @ascender: The height of typographic ascenders. @descender: The depth of typographic descenders. @line_gap: The suggested line-spacing gap.
Font-wide extent values, measured in font units.
Note that typically @ascender is positive and @descender negative, in coordinate systems that grow up.
Fields§
§ascender: hb_position_t
§descender: hb_position_t
§line_gap: hb_position_t
§reserved9: hb_position_t
§reserved8: hb_position_t
§reserved7: hb_position_t
§reserved6: hb_position_t
§reserved5: hb_position_t
§reserved4: hb_position_t
§reserved3: hb_position_t
§reserved2: hb_position_t
§reserved1: hb_position_t
Trait Implementations§
source§impl Clone for hb_font_extents_t
impl Clone for hb_font_extents_t
source§fn clone(&self) -> hb_font_extents_t
fn clone(&self) -> hb_font_extents_t
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 hb_font_extents_t
impl Debug for hb_font_extents_t
impl Copy for hb_font_extents_t
Auto Trait Implementations§
impl Freeze for hb_font_extents_t
impl RefUnwindSafe for hb_font_extents_t
impl Send for hb_font_extents_t
impl Sync for hb_font_extents_t
impl Unpin for hb_font_extents_t
impl UnwindSafe for hb_font_extents_t
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