pub struct Spec {
pub screen: (f64, f64),
pub center: (f64, f64),
pub scale: f64,
pub rotate: f64,
pub duration: Duration,
}Expand description
What to do, in logical points.
Fields§
§screen: (f64, f64)§center: (f64, f64)§scale: f64End span over start span: above 1 spreads the fingers, below 1 pinches.
rotate: f64Degrees, positive clockwise on the screen.
duration: DurationHow long the fingers move.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Spec
impl Freeze for Spec
impl Move for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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