pub struct Layout {
pub size: Vec2,
pub rows: Vec<Row>,
}Expand description
A laid-out run: what it measures, and where every glyph in it landed.
Fields§
§size: Vec2The run’s bounding size — the widest row by the stack of all of them.
rows: Vec<Row>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
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