pub enum DragAndDropEvent {
Started(DragAndDropPoint),
Moved(DragAndDropPoint),
Dropped(DragAndDropPoint),
Cancelled,
}Expand description
One step of a transfer the source recorded for the shell to route.
Variants§
Started(DragAndDropPoint)
The press moved past the drag threshold.
Moved(DragAndDropPoint)
The pointer moved while the transfer runs.
Dropped(DragAndDropPoint)
The pointer was released.
Cancelled
The gesture was cancelled.
Trait Implementations§
Source§impl Clone for DragAndDropEvent
impl Clone for DragAndDropEvent
impl Copy for DragAndDropEvent
Source§impl Debug for DragAndDropEvent
impl Debug for DragAndDropEvent
Source§impl PartialEq for DragAndDropEvent
impl PartialEq for DragAndDropEvent
impl StructuralPartialEq for DragAndDropEvent
Auto Trait Implementations§
impl Freeze for DragAndDropEvent
impl RefUnwindSafe for DragAndDropEvent
impl Send for DragAndDropEvent
impl Sync for DragAndDropEvent
impl Unpin for DragAndDropEvent
impl UnsafeUnpin for DragAndDropEvent
impl UnwindSafe for DragAndDropEvent
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