pub struct DestRecord {
pub name: String,
pub page: u32,
pub view: ViewSpec,
}Expand description
One /DEST entry — registers a named destination in the document’s
/Names /Dests name tree. PDF outline entries and link annotations
resolve the matching name against this tree.
Fields§
§name: String/Dest — the destination name (interned bytes; UTF-8 lossy).
page: u32/Page — 1-based target page.
view: ViewSpec/View — view spec; default [/XYZ null null null].
Trait Implementations§
Source§impl Clone for DestRecord
impl Clone for DestRecord
Source§fn clone(&self) -> DestRecord
fn clone(&self) -> DestRecord
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 DestRecord
impl RefUnwindSafe for DestRecord
impl Send for DestRecord
impl Sync for DestRecord
impl Unpin for DestRecord
impl UnsafeUnpin for DestRecord
impl UnwindSafe for DestRecord
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