pub struct FrameLine {
pub line: usize,
pub row: usize,
pub y: f32,
pub height: f32,
pub runs: Vec<TextRun>,
}Expand description
One row on screen: a whole line, or one row of a wrapped line.
Fields§
§line: usize§row: usizeRow within the line; 0 for its first row, which carries the line number.
y: f32§height: f32§runs: Vec<TextRun>Trait Implementations§
impl StructuralPartialEq for FrameLine
Auto Trait Implementations§
impl Forget for FrameLine
impl Freeze for FrameLine
impl Move for FrameLine
impl RefUnwindSafe for FrameLine
impl Send for FrameLine
impl Sync for FrameLine
impl Unpin for FrameLine
impl UnsafeUnpin for FrameLine
impl UnwindSafe for FrameLine
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