pub struct Line {
pub origin: [f64; 2],
pub glyphs: Range<u32>,
pub bars: Range<u32>,
pub width: f64,
}Expand description
a line of a layout: its baseline’s origin (em, in the frame), its glyphs (a range of Layout::glyphs) and bars, its advance width (em)
Fields§
§origin: [f64; 2]§glyphs: Range<u32>§bars: Range<u32>§width: f64Trait Implementations§
impl StructuralPartialEq for Line
Auto Trait Implementations§
impl Forget for Line
impl Freeze for Line
impl Move for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnsafeUnpin for Line
impl UnwindSafe for Line
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