pub struct LinkAnnotation {
pub rect: [f32; 4],
pub target: LinkTarget,
}Expand description
A clickable rectangle on a page that opens a URI or jumps to a page in
the same document (a /Link annotation with a /URI or /GoTo
action; ISO 32000 §12.5.6.5, §12.6.4.7, §12.3.2).
Fields§
§rect: [f32; 4]The clickable area, [x0, y0, x1, y1] in the page’s user space.
target: LinkTargetWhere the link goes.
Trait Implementations§
Source§impl Clone for LinkAnnotation
impl Clone for LinkAnnotation
Source§fn clone(&self) -> LinkAnnotation
fn clone(&self) -> LinkAnnotation
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 moreSource§impl Debug for LinkAnnotation
impl Debug for LinkAnnotation
Source§impl PartialEq for LinkAnnotation
impl PartialEq for LinkAnnotation
impl StructuralPartialEq for LinkAnnotation
Auto Trait Implementations§
impl Freeze for LinkAnnotation
impl RefUnwindSafe for LinkAnnotation
impl Send for LinkAnnotation
impl Sync for LinkAnnotation
impl Unpin for LinkAnnotation
impl UnsafeUnpin for LinkAnnotation
impl UnwindSafe for LinkAnnotation
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