pub enum DndError {
NotDragging,
AlreadyDragging,
DropRejected,
NoMimeMatch,
InvalidSurface,
Cancelled,
}Expand description
Errors that can occur during drag-and-drop operations.
Variants§
NotDragging
No drag operation is in progress.
AlreadyDragging
A drag is already in progress.
DropRejected
The drop target rejected the drop.
NoMimeMatch
No MIME type matches between source and target.
InvalidSurface
Invalid surface ID.
Cancelled
The drag operation was cancelled.
Trait Implementations§
impl Copy for DndError
impl Eq for DndError
impl StructuralPartialEq for DndError
Auto Trait Implementations§
impl Freeze for DndError
impl RefUnwindSafe for DndError
impl Send for DndError
impl Sync for DndError
impl Unpin for DndError
impl UnwindSafe for DndError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)