pub struct PdfPageLinkAnnotation<'a> { /* private fields */ }Expand description
A single PdfPageAnnotation of type PdfPageAnnotationType::Link.
Implementations§
source§impl<'a> PdfPageLinkAnnotation<'a>
impl<'a> PdfPageLinkAnnotation<'a>
sourcepub fn link(&self) -> Result<PdfLink<'_>, PdfiumError>
pub fn link(&self) -> Result<PdfLink<'_>, PdfiumError>
Returns the PdfLink associated with this PdfPageLinkAnnotation, if any.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PdfPageLinkAnnotation<'a>
impl<'a> !Send for PdfPageLinkAnnotation<'a>
impl<'a> !Sync for PdfPageLinkAnnotation<'a>
impl<'a> Unpin for PdfPageLinkAnnotation<'a>
impl<'a> !UnwindSafe for PdfPageLinkAnnotation<'a>
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
source§impl<'a, T> PdfPageAnnotationCommon for Twhere
T: PdfPageAnnotationPrivate<'a>,
impl<'a, T> PdfPageAnnotationCommon for Twhere T: PdfPageAnnotationPrivate<'a>,
source§fn name(&self) -> Option<String>
fn name(&self) -> Option<String>
Returns the name of this PdfPageAnnotation, if any. This is a text string uniquely identifying
this annotation among all the annotations attached to the containing page.
source§fn bounds(&self) -> Result<PdfRect, PdfiumError>
fn bounds(&self) -> Result<PdfRect, PdfiumError>
Returns the bounding box of this PdfPageAnnotation.
source§fn contents(&self) -> Option<String>
fn contents(&self) -> Option<String>
Returns the text to be displayed for this PdfPageAnnotation, or, if this type of annotation
does not display text, an alternate description of the annotation’s contents in human-readable
form. In either case this text is useful when extracting the document’s contents in support
of accessibility to users with disabilities or for other purposes.
source§fn creator(&self) -> Option<String>
fn creator(&self) -> Option<String>
Returns the name of the creator of this PdfPageAnnotation, if any.
source§fn creation_date(&self) -> Option<String>
fn creation_date(&self) -> Option<String>
Returns the date and time when this PdfPageAnnotation was originally created, if any.
source§fn modification_date(&self) -> Option<String>
fn modification_date(&self) -> Option<String>
Returns the date and time when this PdfPageAnnotation was last modified, if any.
source§fn objects(&self) -> &PdfPageAnnotationObjects<'_>
fn objects(&self) -> &PdfPageAnnotationObjects<'_>
Returns an immutable collection of all the page objects in this PdfPageAnnotation. Read more