pub struct TextBlock {
pub lines: Vec<TextLine>,
pub bbox: BBox,
}Expand description
A text block: a group of lines forming a coherent paragraph or section.
Fields§
§lines: Vec<TextLine>Lines in this block, sorted top-to-bottom.
bbox: BBoxBounding box of this block.
Trait Implementations§
impl StructuralPartialEq for TextBlock
Auto Trait Implementations§
impl Freeze for TextBlock
impl RefUnwindSafe for TextBlock
impl Send for TextBlock
impl Sync for TextBlock
impl Unpin for TextBlock
impl UnsafeUnpin for TextBlock
impl UnwindSafe for TextBlock
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