pub struct Row {
pub pos: Vec2,
pub height: f32,
pub ends_with_newline: bool,
pub glyphs: Vec<Glyph>,
}Expand description
One row of a Layout.
Fields§
§pos: Vec2The row’s origin, relative to the layout’s.
height: f32The row’s height — the line’s, whether or not a glyph is on it.
ends_with_newline: boolWhether this row closes a paragraph — a row broken by a \n rather
than by the wrap width. The newline itself is no glyph of its own.
glyphs: Vec<Glyph>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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