pub struct BasicFontMetrics {
pub units_per_em: u16,
pub num_glyphs: u32,
pub ascent: i16,
pub descent: i16,
}Fields§
§units_per_em: u16§num_glyphs: u32§ascent: i16§descent: i16Trait Implementations§
Source§impl Clone for BasicFontMetrics
impl Clone for BasicFontMetrics
Source§fn clone(&self) -> BasicFontMetrics
fn clone(&self) -> BasicFontMetrics
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 BasicFontMetrics
impl Debug for BasicFontMetrics
impl Copy for BasicFontMetrics
Auto Trait Implementations§
impl Freeze for BasicFontMetrics
impl RefUnwindSafe for BasicFontMetrics
impl Send for BasicFontMetrics
impl Sync for BasicFontMetrics
impl Unpin for BasicFontMetrics
impl UnsafeUnpin for BasicFontMetrics
impl UnwindSafe for BasicFontMetrics
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