pub struct PdfAction {
pub trigger: ActionTrigger,
pub kind: ActionKind,
pub chain_depth: u32,
}Expand description
One action surfaced by actions.
trigger records where the action lives — Catalog open, a
specific page event, an annotation event, a form-field event, or
a name-tree entry — and kind records what the action does.
Fields§
§trigger: ActionTriggerWhere in the document this action lives.
kind: ActionKindWhat the action does (Table 198 action type + decoded payload).
chain_depth: u32Chain depth — 0 for the action that lives at trigger, 1 for
the first /Next, 2 for the next, etc. Per §12.6.3, an action
may carry /Next to chain further actions on the same trigger.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfAction
impl RefUnwindSafe for PdfAction
impl Send for PdfAction
impl Sync for PdfAction
impl Unpin for PdfAction
impl UnsafeUnpin for PdfAction
impl UnwindSafe for PdfAction
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