pub enum Zoom {
Auto {
max: Option<f64>,
},
Fixed(f64),
}Expand description
How the static zoom (about the frame centre, applied to every frame) is chosen.
Variants§
Auto
The smallest zoom with no black border on any frame (vidstab’s optzoom=1, but exact:
it accounts for rotation and scale), capped at max if set.
Fixed(f64)
Fixed magnification (1.0 = none); borders may show.
Trait Implementations§
impl Copy for Zoom
impl StructuralPartialEq for Zoom
Auto Trait Implementations§
impl Forget for Zoom
impl Freeze for Zoom
impl RefUnwindSafe for Zoom
impl Send for Zoom
impl Sync for Zoom
impl Unpin for Zoom
impl UnsafeUnpin for Zoom
impl UnwindSafe for Zoom
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