pub struct TextInkMetrics {
pub ascent: Px,
pub descent: Px,
}Fields§
§ascent: Px§descent: PxTrait Implementations§
Source§impl Clone for TextInkMetrics
impl Clone for TextInkMetrics
Source§fn clone(&self) -> TextInkMetrics
fn clone(&self) -> TextInkMetrics
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 TextInkMetrics
impl Debug for TextInkMetrics
Source§impl PartialEq for TextInkMetrics
impl PartialEq for TextInkMetrics
impl Copy for TextInkMetrics
impl StructuralPartialEq for TextInkMetrics
Auto Trait Implementations§
impl Freeze for TextInkMetrics
impl RefUnwindSafe for TextInkMetrics
impl Send for TextInkMetrics
impl Sync for TextInkMetrics
impl Unpin for TextInkMetrics
impl UnsafeUnpin for TextInkMetrics
impl UnwindSafe for TextInkMetrics
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