Struct core_text::line::TypographicBounds
source · 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: CGFloat
Auto 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