pub struct RemoteGoToAction {
pub file: String,
pub destination: Option<RemoteDestination>,
pub new_window: Option<bool>,
}Expand description
Remote GoTo action - navigate to a destination in another PDF document
Fields§
§file: StringFile specification (path to the PDF)
destination: Option<RemoteDestination>Destination in the remote document
new_window: Option<bool>Whether to open in new window
Implementations§
Source§impl RemoteGoToAction
impl RemoteGoToAction
Sourcepub fn to_destination(self, dest: Destination) -> Self
pub fn to_destination(self, dest: Destination) -> Self
Set explicit destination
Sourcepub fn in_new_window(self, new_window: bool) -> Self
pub fn in_new_window(self, new_window: bool) -> Self
Set whether to open in new window
Sourcepub fn to_dict(&self) -> Dictionary
pub fn to_dict(&self) -> Dictionary
Convert to dictionary
Trait Implementations§
Source§impl Clone for RemoteGoToAction
impl Clone for RemoteGoToAction
Source§fn clone(&self) -> RemoteGoToAction
fn clone(&self) -> RemoteGoToAction
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 moreAuto Trait Implementations§
impl Freeze for RemoteGoToAction
impl RefUnwindSafe for RemoteGoToAction
impl Send for RemoteGoToAction
impl Sync for RemoteGoToAction
impl Unpin for RemoteGoToAction
impl UnwindSafe for RemoteGoToAction
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