pub enum LayoutMode {
Tagged,
Raster,
}Expand description
Which path produced the ReadingOrderText runs.
Variants§
Tagged
The document carries a /StructTreeRoot whose /K tree was
walked to produce logical reading order. Multi-column / table
layouts come out in author-intended sequence.
Raster
The document does not have a structure tree (or had one that
was empty / unwalkable); the runs are the same raster-order
runs crate::reader::extract_text would have produced.
Trait Implementations§
Source§impl Clone for LayoutMode
impl Clone for LayoutMode
Source§fn clone(&self) -> LayoutMode
fn clone(&self) -> LayoutMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayoutMode
Source§impl Debug for LayoutMode
impl Debug for LayoutMode
impl Eq for LayoutMode
Source§impl PartialEq for LayoutMode
impl PartialEq for LayoutMode
Source§fn eq(&self, other: &LayoutMode) -> bool
fn eq(&self, other: &LayoutMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LayoutMode
Auto Trait Implementations§
impl Freeze for LayoutMode
impl RefUnwindSafe for LayoutMode
impl Send for LayoutMode
impl Sync for LayoutMode
impl Unpin for LayoutMode
impl UnsafeUnpin for LayoutMode
impl UnwindSafe for LayoutMode
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