pub struct FaceMetrics {
pub ascent: f32,
pub descent: f32,
pub cap_height: f32,
pub x_height: f32,
}Fields§
§ascent: f32§descent: f32§cap_height: f32§x_height: f32Trait Implementations§
Source§impl Clone for FaceMetrics
impl Clone for FaceMetrics
Source§fn clone(&self) -> FaceMetrics
fn clone(&self) -> FaceMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FaceMetrics
impl Debug for FaceMetrics
Source§impl PartialEq for FaceMetrics
impl PartialEq for FaceMetrics
Source§fn eq(&self, other: &FaceMetrics) -> bool
fn eq(&self, other: &FaceMetrics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FaceMetrics
impl StructuralPartialEq for FaceMetrics
Auto Trait Implementations§
impl Freeze for FaceMetrics
impl RefUnwindSafe for FaceMetrics
impl Send for FaceMetrics
impl Sync for FaceMetrics
impl Unpin for FaceMetrics
impl UnsafeUnpin for FaceMetrics
impl UnwindSafe for FaceMetrics
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