pub enum OutlineDestination {
Page(usize),
PageFit {
page: usize,
fit: FitMode,
},
Named(String),
Uri(String),
}Expand description
Destination type for outline items.
Variants§
Page(usize)
Go to a specific page (0-indexed)
PageFit
Go to a page with specific fit mode
Named(String)
Go to a named destination
Uri(String)
External URI link
Trait Implementations§
Source§impl Clone for OutlineDestination
impl Clone for OutlineDestination
Source§fn clone(&self) -> OutlineDestination
fn clone(&self) -> OutlineDestination
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OutlineDestination
impl RefUnwindSafe for OutlineDestination
impl Send for OutlineDestination
impl Sync for OutlineDestination
impl Unpin for OutlineDestination
impl UnwindSafe for OutlineDestination
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