pub struct SetTouchEmulationEnabled {
pub method: SetTouchEmulationEnabledMethod,
pub params: SetTouchEmulationEnabledParams,
}Expand description
Enables touch on platforms which do not support them. setTouchEmulationEnabled
Fields§
§method: SetTouchEmulationEnabledMethod§params: SetTouchEmulationEnabledParamsImplementations§
Source§impl SetTouchEmulationEnabled
impl SetTouchEmulationEnabled
pub const IDENTIFIER: &'static str = "Emulation.setTouchEmulationEnabled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetTouchEmulationEnabled
impl Clone for SetTouchEmulationEnabled
Source§fn clone(&self) -> SetTouchEmulationEnabled
fn clone(&self) -> SetTouchEmulationEnabled
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandResult for SetTouchEmulationEnabled
impl CommandResult for SetTouchEmulationEnabled
type Result = SetTouchEmulationEnabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetTouchEmulationEnabled
impl Debug for SetTouchEmulationEnabled
Source§impl<'de> Deserialize<'de> for SetTouchEmulationEnabled
impl<'de> Deserialize<'de> for SetTouchEmulationEnabled
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SetTouchEmulationEnabled> for BrowserProtocolCommands
impl From<SetTouchEmulationEnabled> for BrowserProtocolCommands
Source§fn from(v: SetTouchEmulationEnabled) -> Self
fn from(v: SetTouchEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetTouchEmulationEnabled> for Command
impl From<SetTouchEmulationEnabled> for Command
Source§fn from(v: SetTouchEmulationEnabled) -> Self
fn from(v: SetTouchEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetTouchEmulationEnabled> for EmulationCommands
impl From<SetTouchEmulationEnabled> for EmulationCommands
Source§fn from(v: SetTouchEmulationEnabled) -> Self
fn from(v: SetTouchEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetTouchEmulationEnabled
impl PartialEq for SetTouchEmulationEnabled
Source§impl Serialize for SetTouchEmulationEnabled
impl Serialize for SetTouchEmulationEnabled
Source§impl TryFrom<BrowserProtocolCommands> for SetTouchEmulationEnabled
impl TryFrom<BrowserProtocolCommands> for SetTouchEmulationEnabled
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetTouchEmulationEnabled as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetTouchEmulationEnabled as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetTouchEmulationEnabled
impl TryFrom<Command> for SetTouchEmulationEnabled
Source§impl TryFrom<EmulationCommands> for SetTouchEmulationEnabled
impl TryFrom<EmulationCommands> for SetTouchEmulationEnabled
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <SetTouchEmulationEnabled as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetTouchEmulationEnabled as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetTouchEmulationEnabled
Auto Trait Implementations§
impl Freeze for SetTouchEmulationEnabled
impl RefUnwindSafe for SetTouchEmulationEnabled
impl Send for SetTouchEmulationEnabled
impl Sync for SetTouchEmulationEnabled
impl Unpin for SetTouchEmulationEnabled
impl UnsafeUnpin for SetTouchEmulationEnabled
impl UnwindSafe for SetTouchEmulationEnabled
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more