pub struct PageText {
pub text: String,
pub images: usize,
pub shapes: usize,
pub cut: bool,
}Expand description
What one page holds.
Fields§
§text: String§images: usizePictures drawn on the page (scans, photos, embedded charts).
shapes: usizeVector shapes drawn (lines, bars of a chart, table rules).
cut: boolThe text was cut at MAX_PAGE_CHARS.
Trait Implementations§
impl StructuralPartialEq for PageText
Auto Trait Implementations§
impl Forget for PageText
impl Freeze for PageText
impl Move for PageText
impl RefUnwindSafe for PageText
impl Send for PageText
impl Sync for PageText
impl Unpin for PageText
impl UnsafeUnpin for PageText
impl UnwindSafe for PageText
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