pub struct Stabilization {
pub transforms: Vec<Mat3>,
pub zoom: f64,
pub min_zoom: f64,
}Fields§
§transforms: Vec<Mat3>Per output frame: output pixel -> source pixel, zoom included.
zoom: f64The static zoom applied (1.0 = none).
min_zoom: f64The zoom needed for no black borders (INFINITY if no zoom suffices).
Trait Implementations§
Source§impl Clone for Stabilization
impl Clone for Stabilization
Source§impl Debug for Stabilization
impl Debug for Stabilization
Source§impl PartialEq for Stabilization
impl PartialEq for Stabilization
impl StructuralPartialEq for Stabilization
Auto Trait Implementations§
impl Forget for Stabilization
impl Freeze for Stabilization
impl RefUnwindSafe for Stabilization
impl Send for Stabilization
impl Sync for Stabilization
impl Unpin for Stabilization
impl UnsafeUnpin for Stabilization
impl UnwindSafe for Stabilization
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