Struct cdp::input::SynthesizePinchGestureCommand [] [src]

pub struct SynthesizePinchGestureCommand {
    pub x: f64,
    pub y: f64,
    pub scale_factor: f64,
    pub relative_speed: Option<i32>,
    pub gesture_source_type: Option<GestureSourceType>,
}

[Experimental] Synthesizes a pinch gesture over a time period by issuing appropriate touch events.

Command Input.synthesizePinchGesture

Domain Module: cdp::input
Command Struct: cdp::input::SynthesizePinchGestureCommand
Response Struct: cdp::input::SynthesizePinchGestureResponse

Fields

X coordinate of the start of the gesture in CSS pixels.

Y coordinate of the start of the gesture in CSS pixels.

Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).

Relative pointer speed in pixels per second (default: 800).

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

Trait Implementations

impl Clone for SynthesizePinchGestureCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SynthesizePinchGestureCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SynthesizePinchGestureCommand
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl CdpCommand for SynthesizePinchGestureCommand
[src]

COMMAND_NAME: &'static str = "Input.synthesizePinchGesture"

impl SerializeCdpCommand for SynthesizePinchGestureCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for SynthesizePinchGestureCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for SynthesizePinchGestureCommand
[src]