pub enum PdfAction {
User(Vec<u8>),
Goto {
file: Option<Vec<u8>>,
structure: Option<ActionTarget>,
target: ActionTarget,
new_window: Option<bool>,
},
Thread {
file: Option<Vec<u8>>,
target: ActionTarget,
},
}Expand description
An action specification (user, goto, thread).
Variants§
User(Vec<u8>)
user {…}.
Goto
goto [file {…}] [struct …] ….
Fields
§
structure: Option<ActionTarget>struct name {…} or struct num n: the structure destination
(/SD).
§
target: ActionTargetThe target.
Thread
thread [file {…}] ….
Trait Implementations§
impl Eq for PdfAction
impl StructuralPartialEq for PdfAction
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