Struct chrome_remote_interface_model::emulation::SetEmitTouchEventsForMouseCommand[][src]

pub struct SetEmitTouchEventsForMouseCommand { /* fields omitted */ }

Implementations

impl SetEmitTouchEventsForMouseCommand[src]

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

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

Whether touch emulation based on mouse input should be enabled.

pub fn configuration(
    &self
) -> Option<&SetEmitTouchEventsForMouseCommandConfiguration>
[src]

Touch/gesture events configuration. Default: current platform.

Trait Implementations

impl Clone for SetEmitTouchEventsForMouseCommand[src]

impl Command for SetEmitTouchEventsForMouseCommand[src]

type Return = SetEmitTouchEventsForMouseReturn

Return type.

impl Debug for SetEmitTouchEventsForMouseCommand[src]

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

impl Serialize for SetEmitTouchEventsForMouseCommand[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.