Struct chrome_remote_interface_model::emulation::SetTouchEmulationEnabledCommand[][src]

pub struct SetTouchEmulationEnabledCommand { /* fields omitted */ }

Enables touch on platforms which do not support them.

Implementations

impl SetTouchEmulationEnabledCommand[src]

pub fn new(enabled: bool, max_touch_points: Option<u32>) -> Self[src]

pub fn enabled(&self) -> bool[src]

Whether the touch event emulation should be enabled.

pub fn max_touch_points(&self) -> Option<&u32>[src]

Maximum touch points supported. Defaults to one.

Trait Implementations

impl Clone for SetTouchEmulationEnabledCommand[src]

impl Command for SetTouchEmulationEnabledCommand[src]

type Return = SetTouchEmulationEnabledReturn

Return type.

impl Debug for SetTouchEmulationEnabledCommand[src]

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

impl Serialize for SetTouchEmulationEnabledCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.