pub struct DispatchTouchEvent {
pub method: DispatchTouchEventMethod,
pub params: DispatchTouchEventParams,
}Expand description
Dispatches a touch event to the page. dispatchTouchEvent
Fields§
§method: DispatchTouchEventMethod§params: DispatchTouchEventParamsImplementations§
Source§impl DispatchTouchEvent
impl DispatchTouchEvent
pub fn builder() -> DispatchTouchEventBuilder
Source§impl DispatchTouchEvent
impl DispatchTouchEvent
pub const IDENTIFIER: &'static str = "Input.dispatchTouchEvent"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DispatchTouchEvent
impl Clone for DispatchTouchEvent
Source§fn clone(&self) -> DispatchTouchEvent
fn clone(&self) -> DispatchTouchEvent
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 DispatchTouchEvent
impl CommandResult for DispatchTouchEvent
type Result = DispatchTouchEventResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for DispatchTouchEvent
impl Debug for DispatchTouchEvent
Source§impl<'de> Deserialize<'de> for DispatchTouchEvent
impl<'de> Deserialize<'de> for DispatchTouchEvent
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<DispatchTouchEvent> for BrowserProtocolCommands
impl From<DispatchTouchEvent> for BrowserProtocolCommands
Source§fn from(v: DispatchTouchEvent) -> Self
fn from(v: DispatchTouchEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchTouchEvent> for Command
impl From<DispatchTouchEvent> for Command
Source§fn from(v: DispatchTouchEvent) -> Self
fn from(v: DispatchTouchEvent) -> Self
Converts to this type from the input type.
Source§impl From<DispatchTouchEvent> for InputCommands
impl From<DispatchTouchEvent> for InputCommands
Source§fn from(v: DispatchTouchEvent) -> Self
fn from(v: DispatchTouchEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DispatchTouchEvent
impl PartialEq for DispatchTouchEvent
Source§impl Serialize for DispatchTouchEvent
impl Serialize for DispatchTouchEvent
Source§impl TryFrom<BrowserProtocolCommands> for DispatchTouchEvent
impl TryFrom<BrowserProtocolCommands> for DispatchTouchEvent
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, <DispatchTouchEvent as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <DispatchTouchEvent as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for DispatchTouchEvent
impl TryFrom<Command> for DispatchTouchEvent
Source§impl TryFrom<InputCommands> for DispatchTouchEvent
impl TryFrom<InputCommands> for DispatchTouchEvent
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, <DispatchTouchEvent as TryFrom<InputCommands>>::Error>
fn try_from( e: InputCommands, ) -> Result<Self, <DispatchTouchEvent as TryFrom<InputCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for DispatchTouchEvent
Auto Trait Implementations§
impl Freeze for DispatchTouchEvent
impl RefUnwindSafe for DispatchTouchEvent
impl Send for DispatchTouchEvent
impl Sync for DispatchTouchEvent
impl Unpin for DispatchTouchEvent
impl UnsafeUnpin for DispatchTouchEvent
impl UnwindSafe for DispatchTouchEvent
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