pub struct FontVerticalMetrics {
pub ascent: f32,
pub descent: f32,
pub natural_line_height: f32,
}Fields§
§ascent: f32§descent: f32§natural_line_height: f32Trait Implementations§
Source§impl Clone for FontVerticalMetrics
impl Clone for FontVerticalMetrics
Source§fn clone(&self) -> FontVerticalMetrics
fn clone(&self) -> FontVerticalMetrics
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 FontVerticalMetrics
impl Debug for FontVerticalMetrics
Source§impl PartialEq for FontVerticalMetrics
impl PartialEq for FontVerticalMetrics
impl Copy for FontVerticalMetrics
impl StructuralPartialEq for FontVerticalMetrics
Auto Trait Implementations§
impl Freeze for FontVerticalMetrics
impl RefUnwindSafe for FontVerticalMetrics
impl Send for FontVerticalMetrics
impl Sync for FontVerticalMetrics
impl Unpin for FontVerticalMetrics
impl UnsafeUnpin for FontVerticalMetrics
impl UnwindSafe for FontVerticalMetrics
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