pub enum PageLayout {
SinglePage,
OneColumn,
TwoColumnLeft,
TwoColumnRight,
TwoPageLeft,
TwoPageRight,
}
Expand description
How the viewer should lay out the pages in the document.
Variants§
SinglePage
Only a single page at a time.
OneColumn
A single, continuously scrolling column of pages.
TwoColumnLeft
Two continuously scrolling columns of pages, laid out with odd-numbered pages on the left.
TwoColumnRight
Two continuously scrolling columns of pages, laid out with odd-numbered pages on the right (like in a left-bound book).
TwoPageLeft
Only two pages are visible at a time, laid out with odd-numbered pages on the left. PDF 1.5+.
TwoPageRight
Only two pages are visible at a time, laid out with odd-numbered pages on the right (like in a left-bound book). PDF 1.5+.
Trait Implementations§
source§impl Clone for PageLayout
impl Clone for PageLayout
source§fn clone(&self) -> PageLayout
fn clone(&self) -> PageLayout
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PageLayout
impl Debug for PageLayout
source§impl Hash for PageLayout
impl Hash for PageLayout
source§impl PartialEq for PageLayout
impl PartialEq for PageLayout
impl Copy for PageLayout
impl Eq for PageLayout
impl StructuralPartialEq for PageLayout
Auto Trait Implementations§
impl Freeze for PageLayout
impl RefUnwindSafe for PageLayout
impl Send for PageLayout
impl Sync for PageLayout
impl Unpin for PageLayout
impl UnwindSafe for PageLayout
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)