pub struct DragIntercepted {
pub method: DragInterceptedMethod,
pub params: DragInterceptedParams,
}Expand description
Emitted only when Input.setInterceptDrags is enabled. Use this data with Input.dispatchDragEvent to
restore normal drag and drop behavior.
dragIntercepted
Fields§
§method: DragInterceptedMethod§params: DragInterceptedParamsImplementations§
Source§impl DragIntercepted
impl DragIntercepted
pub const IDENTIFIER: &'static str = "Input.dragIntercepted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DragIntercepted
impl Clone for DragIntercepted
Source§fn clone(&self) -> DragIntercepted
fn clone(&self) -> DragIntercepted
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 Debug for DragIntercepted
impl Debug for DragIntercepted
Source§impl<'de> Deserialize<'de> for DragIntercepted
impl<'de> Deserialize<'de> for DragIntercepted
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<DragIntercepted> for BrowserProtocolEvents
impl From<DragIntercepted> for BrowserProtocolEvents
Source§fn from(v: DragIntercepted) -> Self
fn from(v: DragIntercepted) -> Self
Converts to this type from the input type.
Source§impl From<DragIntercepted> for Event
impl From<DragIntercepted> for Event
Source§fn from(v: DragIntercepted) -> Self
fn from(v: DragIntercepted) -> Self
Converts to this type from the input type.
Source§impl From<DragIntercepted> for InputEvents
impl From<DragIntercepted> for InputEvents
Source§fn from(v: DragIntercepted) -> Self
fn from(v: DragIntercepted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DragIntercepted
impl PartialEq for DragIntercepted
Source§impl Serialize for DragIntercepted
impl Serialize for DragIntercepted
Source§impl TryFrom<BrowserProtocolEvents> for DragIntercepted
impl TryFrom<BrowserProtocolEvents> for DragIntercepted
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <DragIntercepted as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DragIntercepted as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DragIntercepted
impl TryFrom<Event> for DragIntercepted
Source§impl TryFrom<InputEvents> for DragIntercepted
impl TryFrom<InputEvents> for DragIntercepted
Source§type Error = InputEvents
type Error = InputEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: InputEvents,
) -> Result<Self, <DragIntercepted as TryFrom<InputEvents>>::Error>
fn try_from( e: InputEvents, ) -> Result<Self, <DragIntercepted as TryFrom<InputEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DragIntercepted
Auto Trait Implementations§
impl Freeze for DragIntercepted
impl RefUnwindSafe for DragIntercepted
impl Send for DragIntercepted
impl Sync for DragIntercepted
impl Unpin for DragIntercepted
impl UnsafeUnpin for DragIntercepted
impl UnwindSafe for DragIntercepted
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