Struct ttf_parser::LineMetrics
source · [−]Expand description
A line metrics.
Used for underline and strikeout.
Fields
position: i16
Line position.
thickness: i16
Line thickness.
Trait Implementations
sourceimpl Clone for LineMetrics
impl Clone for LineMetrics
sourcefn clone(&self) -> LineMetrics
fn clone(&self) -> LineMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineMetrics
impl Debug for LineMetrics
sourceimpl PartialEq<LineMetrics> for LineMetrics
impl PartialEq<LineMetrics> for LineMetrics
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LineMetrics) -> bool
fn ne(&self, other: &LineMetrics) -> bool
This method tests for !=
.
impl Copy for LineMetrics
impl StructuralPartialEq for LineMetrics
Auto Trait Implementations
impl RefUnwindSafe for LineMetrics
impl Send for LineMetrics
impl Sync for LineMetrics
impl Unpin for LineMetrics
impl UnwindSafe for LineMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more