Struct chromiumoxide_cdp::cdp::browser_protocol::input::SynthesizePinchGestureParams [−][src]
pub struct SynthesizePinchGestureParams { pub x: f64, pub y: f64, pub scale_factor: f64, pub relative_speed: Option<i64>, pub gesture_source_type: Option<GestureSourceType>, }
Expand description
Synthesizes a pinch gesture over a time period by issuing appropriate touch events. synthesizePinchGesture
Fields
x: f64
X coordinate of the start of the gesture in CSS pixels.
y: f64
Y coordinate of the start of the gesture in CSS pixels.
scale_factor: f64
Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).
relative_speed: Option<i64>
Relative pointer speed in pixels per second (default: 800).
gesture_source_type: Option<GestureSourceType>
Which type of input events to be generated (default: ‘default’, which queries the platform for the preferred input type).
Implementations
Trait Implementations
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for SynthesizePinchGestureParams
impl Sync for SynthesizePinchGestureParams
impl Unpin for SynthesizePinchGestureParams
impl UnwindSafe for SynthesizePinchGestureParams
Blanket Implementations
Mutably borrows from an owned value. Read more