pub enum PdfLinkTarget {
Internal(OutlineDestination),
Uri(String),
Named(String),
}Expand description
What a PdfLink points to.
Variants§
Internal(OutlineDestination)
In-document jump.
Uri(String)
External URI (HTTP, mailto, etc.).
Named(String)
A named destination (/Dest was a Name or string instead of
the explicit array form). The catalog’s /Dests name tree
would resolve this — round-25 surfaces it untouched.
Trait Implementations§
Source§impl Clone for PdfLinkTarget
impl Clone for PdfLinkTarget
Source§fn clone(&self) -> PdfLinkTarget
fn clone(&self) -> PdfLinkTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PdfLinkTarget
impl RefUnwindSafe for PdfLinkTarget
impl Send for PdfLinkTarget
impl Sync for PdfLinkTarget
impl Unpin for PdfLinkTarget
impl UnsafeUnpin for PdfLinkTarget
impl UnwindSafe for PdfLinkTarget
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