pub enum DragEvent {
Started,
Finished(DragAction),
Entered {
data: String,
action: DragAction,
},
FilesEntered(Arc<[String]>),
Moved {
x: Length,
y: Length,
},
Exited,
Dropped {
data: String,
action: DragAction,
},
FilesDropped(Arc<[String]>),
FilesFailed(String),
}Variants§
Started
Finished(DragAction)
Entered
FilesEntered(Arc<[String]>)
Moved
Exited
Dropped
FilesDropped(Arc<[String]>)
FilesFailed(String)
Trait Implementations§
impl StructuralPartialEq for DragEvent
Auto Trait Implementations§
impl Forget for DragEvent
impl Freeze for DragEvent
impl Move for DragEvent
impl RefUnwindSafe for DragEvent
impl Send for DragEvent
impl Sync for DragEvent
impl Unpin for DragEvent
impl UnsafeUnpin for DragEvent
impl UnwindSafe for DragEvent
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