Struct cdp::input::DispatchTouchEventCommand [] [src]

pub struct DispatchTouchEventCommand {
    pub ty: DispatchTouchEventCommandType,
    pub touch_points: Vec<TouchPoint>,
    pub modifiers: Option<i32>,
    pub timestamp: Option<TimeSinceEpoch>,
}

[Experimental] Dispatches a touch event to the page.

Command Input.dispatchTouchEvent

Domain Module: cdp::input
Command Struct: cdp::input::DispatchTouchEventCommand
Response Struct: cdp::input::DispatchTouchEventResponse

Fields

Type of the touch event. TouchEnd and TouchCancel must not contain any touch points, while TouchStart and TouchMove must contains at least one.

Active touch points on the touch device. One event per any changed point (compared to previous touch event in a sequence) is generated, emulating pressing/moving/releasing points one by one.

Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).

Time at which the event occurred.

Trait Implementations

impl Clone for DispatchTouchEventCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DispatchTouchEventCommand
[src]

[src]

Formats the value using the given formatter.

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

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

impl SerializeCdpCommand for DispatchTouchEventCommand
[src]

[src]

[src]

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

[src]

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