pub struct DragInterceptedEvent {
pub data: DragData,
}Expand description
Emitted only when Input.setInterceptDrags is enabled. Use this data with
Input.dispatchDragEvent to restore normal drag and drop behavior.
Experimental: may change without notice.
Payload of the Input.dragIntercepted event.
Fields§
§data: DragDataTrait Implementations§
Source§impl Clone for DragInterceptedEvent
impl Clone for DragInterceptedEvent
Source§impl Debug for DragInterceptedEvent
impl Debug for DragInterceptedEvent
Source§impl Default for DragInterceptedEvent
impl Default for DragInterceptedEvent
Source§impl<'de> Deserialize<'de> for DragInterceptedEvent
impl<'de> Deserialize<'de> for DragInterceptedEvent
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 Event for DragInterceptedEvent
impl Event for DragInterceptedEvent
Source§impl PartialEq for DragInterceptedEvent
impl PartialEq for DragInterceptedEvent
Source§impl Serialize for DragInterceptedEvent
impl Serialize for DragInterceptedEvent
impl StructuralPartialEq for DragInterceptedEvent
Auto Trait Implementations§
impl Forget for DragInterceptedEvent
impl Freeze for DragInterceptedEvent
impl RefUnwindSafe for DragInterceptedEvent
impl Send for DragInterceptedEvent
impl Sync for DragInterceptedEvent
impl Unpin for DragInterceptedEvent
impl UnsafeUnpin for DragInterceptedEvent
impl UnwindSafe for DragInterceptedEvent
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