pub struct TypographicBounds {
pub width: CGFloat,
pub ascent: CGFloat,
pub descent: CGFloat,
pub leading: CGFloat,
}Expand description
Metrics for a given line.
Fields§
§width: CGFloat§ascent: CGFloat§descent: CGFloat§leading: CGFloatAuto Trait Implementations§
impl Freeze for TypographicBounds
impl RefUnwindSafe for TypographicBounds
impl Send for TypographicBounds
impl Sync for TypographicBounds
impl Unpin for TypographicBounds
impl UnwindSafe for TypographicBounds
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