pub struct Section {
pub words: Vec<WordInfo>,
pub lines: Vec<Line>,
pub rect: [f32; 4],
}Expand description
A section of text (separated by paragraph breaks).
Corresponds to upstream CPVT_Section.
Fields§
§words: Vec<WordInfo>Characters in this section.
lines: Vec<Line>Lines after layout.
rect: [f32; 4]Bounding rect [left, bottom, right, top] of this section.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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