#[non_exhaustive]pub enum OutlineDestination {
PageView {
page: u32,
view: ViewSpec,
},
NamedDest(String),
Action(OutlineAction),
}Expand description
What a bookmark entry navigates to when clicked.
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.
PageView
/Page N /View [...] — explicit page + view spec.
NamedDest(String)
/Dest /Name — reference to a named destination registered
elsewhere.
Action(OutlineAction)
/Action <<...>> — passthrough action dict.
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 (const: unstable) · 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 UnsafeUnpin 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