pub struct RunBrokenLine {
pub chars: Vec<StyledChar>,
pub char_positions: Vec<f64>,
pub width: f64,
pub hard_break: bool,
}Expand description
A line of text from multi-style (runs) line breaking.
Fields§
§chars: Vec<StyledChar>§char_positions: Vec<f64>§width: f64§hard_break: boolTrue when the line ends at a forced break (\n and the like):
justification leaves it alone, as CSS text-align-last does.
Trait Implementations§
Source§impl Clone for RunBrokenLine
impl Clone for RunBrokenLine
Auto Trait Implementations§
impl Freeze for RunBrokenLine
impl RefUnwindSafe for RunBrokenLine
impl Send for RunBrokenLine
impl Sync for RunBrokenLine
impl Unpin for RunBrokenLine
impl UnsafeUnpin for RunBrokenLine
impl UnwindSafe for RunBrokenLine
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