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