pub struct LinkPiece {
pub objnum: i32,
pub rect: [i32; 4],
pub attr: Vec<u8>,
pub action: Vec<u8>,
pub user: bool,
pub source: PdfAction,
}Expand description
One rectangle of a link, as written.
Fields§
§objnum: i32The annotation’s object number.
rect: [i32; 4]The rectangle (sp, page coordinates).
attr: Vec<u8>attr {…}.
action: Vec<u8>The action text: a dictionary, or the user text.
user: boolWhether action is user text.
source: PdfActionThe action, turned into action when the page is written (LuaTeX
allocates the destinations links refer to then).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LinkPiece
impl RefUnwindSafe for LinkPiece
impl Send for LinkPiece
impl Sync for LinkPiece
impl Unpin for LinkPiece
impl UnsafeUnpin for LinkPiece
impl UnwindSafe for LinkPiece
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