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