#[non_exhaustive]pub enum TextOrder {
Reading,
TopToBottom,
}Expand description
The order in which pdf_to_text reads a page’s text.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reading
Reading order, the default: columns one after the other, and tables row by row.
TopToBottom
Lines from the top of the page to the bottom, left to right, as the text stands on the page.
Trait Implementations§
impl Copy for TextOrder
impl Eq for TextOrder
impl StructuralPartialEq for TextOrder
Auto Trait Implementations§
impl Forget for TextOrder
impl Freeze for TextOrder
impl Move for TextOrder
impl RefUnwindSafe for TextOrder
impl Send for TextOrder
impl Sync for TextOrder
impl Unpin for TextOrder
impl UnsafeUnpin for TextOrder
impl UnwindSafe for TextOrder
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