pub struct TextDecorationMetricsPx { /* private fields */ }Implementations§
Source§impl TextDecorationMetricsPx
impl TextDecorationMetricsPx
pub fn new( underline_offset_px: f32, strikeout_offset_px: f32, stroke_size_px: f32, ) -> Self
pub fn underline_offset_px(&self) -> f32
pub fn strikeout_offset_px(&self) -> f32
pub fn stroke_size_px(&self) -> f32
Trait Implementations§
Source§impl Clone for TextDecorationMetricsPx
impl Clone for TextDecorationMetricsPx
Source§fn clone(&self) -> TextDecorationMetricsPx
fn clone(&self) -> TextDecorationMetricsPx
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 TextDecorationMetricsPx
impl Debug for TextDecorationMetricsPx
impl Copy for TextDecorationMetricsPx
Auto Trait Implementations§
impl Freeze for TextDecorationMetricsPx
impl RefUnwindSafe for TextDecorationMetricsPx
impl Send for TextDecorationMetricsPx
impl Sync for TextDecorationMetricsPx
impl Unpin for TextDecorationMetricsPx
impl UnsafeUnpin for TextDecorationMetricsPx
impl UnwindSafe for TextDecorationMetricsPx
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