pub struct PinchArgs {
pub direction: Option<String>,
pub scale: Option<f64>,
pub rotate: Option<f64>,
pub at: Value,
pub duration_ms: Option<u64>,
}Fields§
§direction: Option<String>in (scale 0.5) or out (scale 2); not with scale.
scale: Option<f64>End span over start span, 0.25..4.
rotate: Option<f64>Degrees, positive clockwise, -180..180.
at: ValueWhere the fingers meet: a selector, "x,y", or {x, y}. Default: the
middle of the screen.
duration_ms: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinchArgs
impl<'de> Deserialize<'de> for PinchArgs
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
Auto Trait Implementations§
impl Forget for PinchArgs
impl Freeze for PinchArgs
impl Move for PinchArgs
impl RefUnwindSafe for PinchArgs
impl Send for PinchArgs
impl Sync for PinchArgs
impl Unpin for PinchArgs
impl UnsafeUnpin for PinchArgs
impl UnwindSafe for PinchArgs
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