Struct cdp::emulation::SetTouchEmulationEnabledCommand [] [src]

pub struct SetTouchEmulationEnabledCommand {
    pub enabled: bool,
    pub max_touch_points: Option<i32>,
}

Enables touch on platforms which do not support them.

Command Emulation.setTouchEmulationEnabled

Domain Module: cdp::emulation
Command Struct: cdp::emulation::SetTouchEmulationEnabledCommand
Response Struct: cdp::emulation::SetTouchEmulationEnabledResponse

Fields

Whether the touch event emulation should be enabled.

Maximum touch points supported. Defaults to one.

Trait Implementations

impl Clone for SetTouchEmulationEnabledCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SetTouchEmulationEnabledCommand
[src]

[src]

Formats the value using the given formatter.

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

COMMAND_NAME: &'static str = "Emulation.setTouchEmulationEnabled"

impl SerializeCdpCommand for SetTouchEmulationEnabledCommand
[src]

[src]

[src]

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

[src]

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