pub struct Correction {
pub translate: Vec2,
pub rotation_degrees: f32,
pub scale: f32,
pub picture: Vec2,
}Expand description
A similarity of a clip’s picture, sampled from a correction’s data set.
Fields§
§translate: Vec2Translation in fractions of the displayed picture’s width and height.
rotation_degrees: f32Clockwise rotation in degrees about the picture’s center.
scale: f32Uniform scale about the picture’s center.
picture: Vec2The picture’s size as a fraction of the canvas-shaped layer it is contain-fitted into.
Implementations§
Trait Implementations§
Source§impl Clone for Correction
impl Clone for Correction
impl Copy for Correction
Source§impl Debug for Correction
impl Debug for Correction
Source§impl PartialEq for Correction
impl PartialEq for Correction
impl StructuralPartialEq for Correction
Auto Trait Implementations§
impl Forget for Correction
impl Freeze for Correction
impl Move for Correction
impl RefUnwindSafe for Correction
impl Send for Correction
impl Sync for Correction
impl Unpin for Correction
impl UnsafeUnpin for Correction
impl UnwindSafe for Correction
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