#[repr(C)]pub struct DropEvent {
pub mime_type: SharedString,
pub data: SharedString,
pub position: LogicalPosition,
}
Expand description
This structure is passed to the callbacks of the DropArea
element
Fields§
§mime_type: SharedString
The mime type of the data being dragged
data: SharedString
The data being dragged
position: LogicalPosition
The current mouse position in coordinates of the DropArea
element
Trait Implementations§
impl StructuralPartialEq for DropEvent
Auto Trait Implementations§
impl Freeze for DropEvent
impl RefUnwindSafe for DropEvent
impl Send for DropEvent
impl Sync for DropEvent
impl Unpin for DropEvent
impl UnwindSafe for DropEvent
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