Struct cdp::input::SynthesizeTapGestureCommand [] [src]

pub struct SynthesizeTapGestureCommand {
    pub x: f64,
    pub y: f64,
    pub duration: Option<i32>,
    pub tap_count: Option<i32>,
    pub gesture_source_type: Option<GestureSourceType>,
}

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

Command Input.synthesizeTapGesture

Domain Module: cdp::input
Command Struct: cdp::input::SynthesizeTapGestureCommand
Response Struct: cdp::input::SynthesizeTapGestureResponse

Fields

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

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

Duration between touchdown and touchup events in ms (default: 50).

Number of times to perform the tap (e.g. 2 for double tap, default: 1).

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

Trait Implementations

impl Clone for SynthesizeTapGestureCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SynthesizeTapGestureCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for SynthesizeTapGestureCommand
[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 SynthesizeTapGestureCommand
[src]

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

impl SerializeCdpCommand for SynthesizeTapGestureCommand
[src]

[src]

[src]

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

[src]

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