pub struct ZoomFrame {
pub natural: ZoomSize,
pub viewport: ZoomSize,
pub initial: ZoomInitial,
pub max_scale: Option<f64>,
}Expand description
What every function needs to know about the picture and its box.
Fields§
§natural: ZoomSize§viewport: ZoomSize§initial: ZoomInitial§max_scale: Option<f64>Trait Implementations§
impl Copy for ZoomFrame
Source§impl<'de> Deserialize<'de> for ZoomFrame
impl<'de> Deserialize<'de> for ZoomFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ZoomFrame
Auto Trait Implementations§
impl Freeze for ZoomFrame
impl RefUnwindSafe for ZoomFrame
impl Send for ZoomFrame
impl Sync for ZoomFrame
impl Unpin for ZoomFrame
impl UnsafeUnpin for ZoomFrame
impl UnwindSafe for ZoomFrame
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