pub struct FontMetrics {
pub units_per_em: u16,
pub ascender: i32,
pub descender: i32,
pub line_gap: i32,
}Fields§
§units_per_em: u16§ascender: i32§descender: i32§line_gap: i32Trait Implementations§
Source§impl Clone for FontMetrics
impl Clone for FontMetrics
impl Copy for FontMetrics
Source§impl Debug for FontMetrics
impl Debug for FontMetrics
Source§impl Default for FontMetrics
impl Default for FontMetrics
impl Eq for FontMetrics
Source§impl PartialEq for FontMetrics
impl PartialEq for FontMetrics
impl StructuralPartialEq for FontMetrics
Auto Trait Implementations§
impl Forget for FontMetrics
impl Freeze for FontMetrics
impl RefUnwindSafe for FontMetrics
impl Send for FontMetrics
impl Sync for FontMetrics
impl Unpin for FontMetrics
impl UnsafeUnpin for FontMetrics
impl UnwindSafe for FontMetrics
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