pub enum Dest {
Fit(PageId),
Xyz {
page: PageId,
left: f64,
top: f64,
zoom: Option<f64>,
},
}Expand description
a place in the document for links and outline items
Variants§
Fit(PageId)
the whole page in the window
Xyz
the point (left, top) of PDF page space (points from the bottom left, y up) at the top left of the window; zoom None keeps the reader’s (Canvas::dest builds one from a canvas’s own coordinates)
Trait Implementations§
impl Copy for Dest
impl StructuralPartialEq for Dest
Auto Trait Implementations§
impl Forget for Dest
impl Freeze for Dest
impl Move for Dest
impl RefUnwindSafe for Dest
impl Send for Dest
impl Sync for Dest
impl Unpin for Dest
impl UnsafeUnpin for Dest
impl UnwindSafe for Dest
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