#[repr(C)]pub struct lh_font_metrics {
pub font_size: f32,
pub height: f32,
pub ascent: f32,
pub descent: f32,
pub x_height: f32,
pub ch_width: f32,
pub draw_spaces: c_int,
pub sub_shift: f32,
pub super_shift: f32,
}Fields§
§font_size: f32§height: f32§ascent: f32§descent: f32§x_height: f32§ch_width: f32§draw_spaces: c_int§sub_shift: f32§super_shift: f32Trait Implementations§
Source§impl Clone for lh_font_metrics
impl Clone for lh_font_metrics
Source§fn clone(&self) -> lh_font_metrics
fn clone(&self) -> lh_font_metrics
Returns a duplicate 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 lh_font_metrics
impl Debug for lh_font_metrics
Source§impl Default for lh_font_metrics
impl Default for lh_font_metrics
Source§fn default() -> lh_font_metrics
fn default() -> lh_font_metrics
Returns the “default value” for a type. Read more
impl Copy for lh_font_metrics
Auto Trait Implementations§
impl Freeze for lh_font_metrics
impl RefUnwindSafe for lh_font_metrics
impl Send for lh_font_metrics
impl Sync for lh_font_metrics
impl Unpin for lh_font_metrics
impl UnsafeUnpin for lh_font_metrics
impl UnwindSafe for lh_font_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