Struct ttf_parser::LineMetrics 
source · Expand description
A line metrics.
Used for underline and strikeout.
Fields§
§position: i16Line position.
thickness: i16Line thickness.
Trait Implementations§
source§impl Clone for LineMetrics
 
impl Clone for LineMetrics
source§fn clone(&self) -> LineMetrics
 
fn clone(&self) -> LineMetrics
Returns a copy 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 LineMetrics
 
impl Debug for LineMetrics
source§impl PartialEq<LineMetrics> for LineMetrics
 
impl PartialEq<LineMetrics> for LineMetrics
source§fn eq(&self, other: &LineMetrics) -> bool
 
fn eq(&self, other: &LineMetrics) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.