pub struct DragEnterEvent {
pub kind: DragAction,
pub size: usize,
}Expand description
A drag enter file event. App must call peek_drop_content to receive DragMoveEvent, DragLeaveEvent, DropEvent. App can ignore DND by doing nothing or peek_drop_content + pop_drop_content before DropEvent.
Fields§
§kind: DragAction§size: usizeImplementations§
Trait Implementations§
Source§impl Clone for DragEnterEvent
impl Clone for DragEnterEvent
Source§fn clone(&self) -> DragEnterEvent
fn clone(&self) -> DragEnterEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DragEnterEvent
Auto Trait Implementations§
impl Freeze for DragEnterEvent
impl RefUnwindSafe for DragEnterEvent
impl Send for DragEnterEvent
impl Sync for DragEnterEvent
impl Unpin for DragEnterEvent
impl UnsafeUnpin for DragEnterEvent
impl UnwindSafe for DragEnterEvent
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