pub enum DestinationType {
XYZ {
left: Option<f64>,
top: Option<f64>,
zoom: Option<f64>,
},
Fit,
FitH {
top: Option<f64>,
},
FitV {
left: Option<f64>,
},
FitR {
rect: Rectangle,
},
FitB,
FitBH {
top: Option<f64>,
},
FitBV {
left: Option<f64>,
},
}Expand description
PDF destination types
Variants§
XYZ
Display page with coordinates (left, top) at upper-left corner
Fit
Fit entire page in window
FitH
Fit width of page in window
FitV
Fit height of page in window
FitR
Fit rectangle in window
FitB
Fit page bounding box in window
FitBH
Fit width of bounding box
FitBV
Fit height of bounding box
Trait Implementations§
Source§impl Clone for DestinationType
impl Clone for DestinationType
Source§fn clone(&self) -> DestinationType
fn clone(&self) -> DestinationType
Returns a duplicate of the value. Read more
1.0.0 · 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 DestinationType
impl Debug for DestinationType
Source§impl PartialEq for DestinationType
impl PartialEq for DestinationType
impl StructuralPartialEq for DestinationType
Auto Trait Implementations§
impl Freeze for DestinationType
impl RefUnwindSafe for DestinationType
impl Send for DestinationType
impl Sync for DestinationType
impl Unpin for DestinationType
impl UnwindSafe for DestinationType
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