pub struct LineBox {
pub height: f32,
pub baseline: f32,
}Expand description
A resolved line box: how tall the line is and where its baseline sits inside it, both measured down from the top of the box.
Fields§
§height: f32Baseline-to-baseline advance, and the height of a single-line block.
baseline: f32Distance from the top of the box down to the baseline.
Trait Implementations§
impl Copy for LineBox
impl StructuralPartialEq for LineBox
Auto Trait Implementations§
impl Freeze for LineBox
impl RefUnwindSafe for LineBox
impl Send for LineBox
impl Sync for LineBox
impl Unpin for LineBox
impl UnsafeUnpin for LineBox
impl UnwindSafe for LineBox
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