pub enum ActionType {
Unsupported = 0,
GoTo = 1,
RemoteGoTo = 2,
Uri = 3,
Launch = 4,
EmbeddedGoTo = 5,
}Expand description
Coarse action type classification matching PDFACTION_* constants in
PDFium’s fpdf_doc.h.
This provides the same information as the PDFACTION_* integer constants
(0–5) so callers can perform type-dispatch without pattern-matching the
full Action enum.
Variants§
Unsupported = 0
Unsupported or unrecognised action — PDFACTION_UNSUPPORTED = 0.
GoTo = 1
GoTo within the current document — PDFACTION_GOTO = 1.
RemoteGoTo = 2
GoToR (remote document) — PDFACTION_REMOTEGOTO = 2.
Uri = 3
URI — PDFACTION_URI = 3.
Launch = 4
Launch application/file — PDFACTION_LAUNCH = 4.
EmbeddedGoTo = 5
GoToE (embedded file) — PDFACTION_EMBEDDEDGOTO = 5.
Trait Implementations§
Source§impl Clone for ActionType
impl Clone for ActionType
Source§fn clone(&self) -> ActionType
fn clone(&self) -> ActionType
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 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 UnsafeUnpin 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