pub enum Action {
GoTo(Dest),
Uri(String),
GoToFile {
file: String,
page: Option<usize>,
},
Launch(String),
Named(String),
Other(String),
}Expand description
what an outline item or a link does (12.6.4)
Variants§
GoTo(Dest)
Uri(String)
a web address or other URI
GoToFile
a page of another PDF file (GoToR): the file, the page when given as a number
Launch(String)
start another file or program (Launch)
Named(String)
a viewer command (Named: NextPage, PrevPage, FirstPage, LastPage, …)
Other(String)
any other kind of action (JavaScript, SubmitForm, …), by its /S
Trait Implementations§
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl RefUnwindSafe for Action
impl Send for Actionwhere
RawVecInner: Send,
impl Sync for Actionwhere
RawVecInner: Sync,
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Actionwhere
RawVecInner: UnwindSafe,
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