pub struct EmulateTouchFromMouseEvent {
pub method: EmulateTouchFromMouseEventMethod,
pub params: EmulateTouchFromMouseEventParams,
}Expand description
Emulates touch event from the mouse event parameters. emulateTouchFromMouseEvent
Fields§
§method: EmulateTouchFromMouseEventMethod§params: EmulateTouchFromMouseEventParamsImplementations§
Source§impl EmulateTouchFromMouseEvent
impl EmulateTouchFromMouseEvent
pub const IDENTIFIER: &'static str = "Input.emulateTouchFromMouseEvent"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for EmulateTouchFromMouseEvent
impl Clone for EmulateTouchFromMouseEvent
Source§fn clone(&self) -> EmulateTouchFromMouseEvent
fn clone(&self) -> EmulateTouchFromMouseEvent
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 EmulateTouchFromMouseEvent
impl CommandResult for EmulateTouchFromMouseEvent
type Result = EmulateTouchFromMouseEventResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for EmulateTouchFromMouseEvent
impl Debug for EmulateTouchFromMouseEvent
Source§impl<'de> Deserialize<'de> for EmulateTouchFromMouseEvent
impl<'de> Deserialize<'de> for EmulateTouchFromMouseEvent
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<EmulateTouchFromMouseEvent> for BrowserProtocolCommands
impl From<EmulateTouchFromMouseEvent> for BrowserProtocolCommands
Source§fn from(v: EmulateTouchFromMouseEvent) -> Self
fn from(v: EmulateTouchFromMouseEvent) -> Self
Converts to this type from the input type.
Source§impl From<EmulateTouchFromMouseEvent> for Command
impl From<EmulateTouchFromMouseEvent> for Command
Source§fn from(v: EmulateTouchFromMouseEvent) -> Self
fn from(v: EmulateTouchFromMouseEvent) -> Self
Converts to this type from the input type.
Source§impl From<EmulateTouchFromMouseEvent> for InputCommands
impl From<EmulateTouchFromMouseEvent> for InputCommands
Source§fn from(v: EmulateTouchFromMouseEvent) -> Self
fn from(v: EmulateTouchFromMouseEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for EmulateTouchFromMouseEvent
impl TryFrom<BrowserProtocolCommands> for EmulateTouchFromMouseEvent
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, <EmulateTouchFromMouseEvent as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <EmulateTouchFromMouseEvent as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for EmulateTouchFromMouseEvent
impl TryFrom<Command> for EmulateTouchFromMouseEvent
Source§impl TryFrom<InputCommands> for EmulateTouchFromMouseEvent
impl TryFrom<InputCommands> for EmulateTouchFromMouseEvent
Source§type Error = InputCommands
type Error = InputCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputCommands,
) -> Result<Self, <EmulateTouchFromMouseEvent as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <EmulateTouchFromMouseEvent as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for EmulateTouchFromMouseEvent
Auto Trait Implementations§
impl Freeze for EmulateTouchFromMouseEvent
impl RefUnwindSafe for EmulateTouchFromMouseEvent
impl Send for EmulateTouchFromMouseEvent
impl Sync for EmulateTouchFromMouseEvent
impl Unpin for EmulateTouchFromMouseEvent
impl UnsafeUnpin for EmulateTouchFromMouseEvent
impl UnwindSafe for EmulateTouchFromMouseEvent
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