Struct cosmic_text::Metrics
source · Expand description
Metrics of text
Fields
font_size: i32
Font size in pixels
line_height: i32
Line height in pixels
Implementations
Trait Implementations
impl Copy for Metrics
impl Eq for Metrics
impl StructuralEq for Metrics
impl StructuralPartialEq for Metrics
Auto Trait Implementations
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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