#[non_exhaustive]pub enum GoToTarget {
Named(String),
Explicit {
page: u32,
view: ViewSpec,
},
}Expand description
/GoTo action target.
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.
Named(String)
/D /SomeName — resolved against the document’s name tree.
Explicit
/D [N /Fit] — explicit 1-based page + view spec.
Trait Implementations§
Source§impl Clone for GoToTarget
impl Clone for GoToTarget
Source§fn clone(&self) -> GoToTarget
fn clone(&self) -> GoToTarget
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 GoToTarget
impl RefUnwindSafe for GoToTarget
impl Send for GoToTarget
impl Sync for GoToTarget
impl Unpin for GoToTarget
impl UnsafeUnpin for GoToTarget
impl UnwindSafe for GoToTarget
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