pub struct ParseConfig {
pub page_offset: i32,
pub page_numbers: bool,
}
Expand description
The config provided to the parser.
Fields§
§page_offset: i32
The offset of the first numbered page. Set it to a negative value if physical page numbers are annotated to derive page number from it. Set it to positive if page numbers are annotated to derive physical page from it. Set it to [0] if page numbers match physical page.
page_numbers: bool
If true
page number indicators will be emitted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseConfig
impl RefUnwindSafe for ParseConfig
impl Send for ParseConfig
impl Sync for ParseConfig
impl Unpin for ParseConfig
impl UnwindSafe for ParseConfig
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