pub enum View {
Xyz {
left: Option<f64>,
top: Option<f64>,
zoom: Option<f64>,
},
Fit,
FitH(Option<f64>),
FitV(Option<f64>),
FitR([f64; 4]),
FitB,
FitBH(Option<f64>),
FitBV(Option<f64>),
}Expand description
how a destination shows its page (12.3.2.2); None keeps what the viewer has
Variants§
Xyz
Fit
FitH(Option<f64>)
FitV(Option<f64>)
FitR([f64; 4])
left, bottom, right, top
FitB
FitBH(Option<f64>)
FitBV(Option<f64>)
Trait Implementations§
impl Copy for View
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Forget for View
impl Freeze for View
impl Move for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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