#[repr(C)]pub struct LineMetrics {
pub position: i16,
pub thickness: i16,
}
Expand description
A line metrics.
Used for underline and strikeout.
Fields§
§position: i16
Line position.
thickness: i16
Line 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 for LineMetrics
impl PartialEq for LineMetrics
impl Copy for LineMetrics
impl Eq for LineMetrics
impl StructuralPartialEq for LineMetrics
Auto Trait Implementations§
impl Freeze for LineMetrics
impl RefUnwindSafe for LineMetrics
impl Send for LineMetrics
impl Sync for LineMetrics
impl Unpin for LineMetrics
impl UnwindSafe for LineMetrics
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)