pub enum LinkAction {
Uri(String),
GoTo(LinkDestination),
GoToRemote {
file: String,
destination: Option<LinkDestination>,
},
Other {
action_type: String,
},
}Expand description
Link action associated with an annotation.
Specifies what happens when the annotation is activated.
Variants§
Uri(String)
URI action - navigate to a web URL
GoTo(LinkDestination)
GoTo action - navigate to a destination within the document
GoToRemote
GoToR action - navigate to a destination in another document
Fields
§
destination: Option<LinkDestination>Destination in remote file
Other
Other action types (Launch, Named, etc.)
Trait Implementations§
Source§impl Clone for LinkAction
impl Clone for LinkAction
Source§impl Debug for LinkAction
impl Debug for LinkAction
Source§impl PartialEq for LinkAction
impl PartialEq for LinkAction
impl StructuralPartialEq for LinkAction
Auto Trait Implementations§
impl Freeze for LinkAction
impl RefUnwindSafe for LinkAction
impl Send for LinkAction
impl Sync for LinkAction
impl Unpin for LinkAction
impl UnsafeUnpin for LinkAction
impl UnwindSafe for LinkAction
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