#[repr(C)]pub struct _TypeMetric {
pub pixels_per_em: PointInfo,
pub ascent: f64,
pub descent: f64,
pub width: f64,
pub height: f64,
pub max_advance: f64,
pub underline_position: f64,
pub underline_thickness: f64,
pub bounds: SegmentInfo,
pub origin: PointInfo,
}Fields§
§pixels_per_em: PointInfo§ascent: f64§descent: f64§width: f64§height: f64§max_advance: f64§underline_position: f64§underline_thickness: f64§bounds: SegmentInfo§origin: PointInfoTrait Implementations§
Source§impl Clone for _TypeMetric
impl Clone for _TypeMetric
Source§fn clone(&self) -> _TypeMetric
fn clone(&self) -> _TypeMetric
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 _TypeMetric
impl Debug for _TypeMetric
Source§impl PartialEq for _TypeMetric
impl PartialEq for _TypeMetric
impl Copy for _TypeMetric
impl StructuralPartialEq for _TypeMetric
Auto Trait Implementations§
impl Freeze for _TypeMetric
impl RefUnwindSafe for _TypeMetric
impl Send for _TypeMetric
impl Sync for _TypeMetric
impl Unpin for _TypeMetric
impl UnwindSafe for _TypeMetric
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