pub enum PageMode {
UseNone,
UseOutlines,
UseThumbs,
FullScreen,
UseOC,
UseAttachments,
}
Expand description
Elements of the viewer chrome that should be visible when opening the document.
Variants§
UseNone
Neither the document outline panel nor a panel with page preview images are visible.
UseOutlines
The document outline panel is visible.
UseThumbs
A panel with page preview images is visible.
FullScreen
Show the document page in full screen mode, with no chrome.
UseOC
Show the optional content group panel. PDF 1.5+.
UseAttachments
Show the attachments panel. PDF 1.6+.
Trait Implementations§
impl Copy for PageMode
impl Eq for PageMode
impl StructuralPartialEq for PageMode
Auto Trait Implementations§
impl Freeze for PageMode
impl RefUnwindSafe for PageMode
impl Send for PageMode
impl Sync for PageMode
impl Unpin for PageMode
impl UnwindSafe for PageMode
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
)