pub enum ActionType {
GoTo,
RemoteGoTo,
Launch,
Uri,
SubmitForm,
ResetForm,
ImportData,
JavaScript,
Rendition,
}
Expand description
What kind of action to perform when clicking a link annotation.
Variants§
GoTo
Go to a destination in the document.
RemoteGoTo
Go to a destination in another document.
Launch
Launch an application.
This action type is forbidden in PDF/A.
Uri
Open a URI.
SubmitForm
Set an annotation’s hidden flag. PDF 1.2+.
ResetForm
Set form fields to their default values. PDF 1.2+.
This action type is forbidden in PDF/A.
ImportData
Import form field values from a file. PDF 1.2+.
This action type is forbidden in PDF/A.
JavaScript
Execute a JavaScript action. PDF 1.2+.
See Adobe’s JavaScript for Acrobat API Reference and ISO 21757.
This action type is forbidden in PDF/A.
Rendition
A rendition action to control the playing of multimedia content. PDF 1.5+.
This action type is forbidden in PDF/A.
Trait Implementations§
source§impl Clone for ActionType
impl Clone for ActionType
source§fn clone(&self) -> ActionType
fn clone(&self) -> ActionType
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ActionType
impl Debug for ActionType
source§impl Hash for ActionType
impl Hash for ActionType
source§impl PartialEq for ActionType
impl PartialEq for ActionType
impl Copy for ActionType
impl Eq for ActionType
impl StructuralPartialEq for ActionType
Auto Trait Implementations§
impl Freeze for ActionType
impl RefUnwindSafe for ActionType
impl Send for ActionType
impl Sync for ActionType
impl Unpin for ActionType
impl UnwindSafe for ActionType
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
)