pub enum DndState {
Idle,
Dragging,
DropPending,
Transferring,
}Expand description
State machine for drag-and-drop operations.
Variants§
Idle
No drag operation active.
Dragging
A drag is in progress (user holding mouse button).
DropPending
Over a valid drop target, waiting for drop confirmation.
Transferring
Drop was accepted and data transfer is happening.
Trait Implementations§
impl Copy for DndState
impl Eq for DndState
impl StructuralPartialEq for DndState
Auto Trait Implementations§
impl Freeze for DndState
impl RefUnwindSafe for DndState
impl Send for DndState
impl Sync for DndState
impl Unpin for DndState
impl UnwindSafe for DndState
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)