#[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: SharedStringThe mime type of the data being dragged
data: SharedStringThe data being dragged
position: LogicalPositionThe 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