Struct pdfium_render::action::PdfAction
source · [−]pub struct PdfAction<'a> { /* private fields */ }Expand description
The action associated with a clickable link or document bookmark.
Implementations
sourceimpl<'a> PdfAction<'a>
impl<'a> PdfAction<'a>
sourcepub fn action_type(&self) -> PdfActionType
pub fn action_type(&self) -> PdfActionType
Returns the PdfActionType for this PdfAction.
Note that Pdfium does not support or recognize all PDF action types. For instance,
Pdfium does not currently support or recognize the interactive Javascript action type
supported by Adobe Acrobat or Foxit’s commercial PDF SDK. In these cases,
Pdfium will return PdfActionType::Unsupported.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PdfAction<'a>
impl<'a> !Send for PdfAction<'a>
impl<'a> !Sync for PdfAction<'a>
impl<'a> Unpin for PdfAction<'a>
impl<'a> !UnwindSafe for PdfAction<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more