Enum
DragDecision
#[non_exhaustive]
pub enum DragDecision {
Default,
Allow,
Refuse,
}The answer of App::on_drag_enter.
Variants
#Allow
The drag goes on. The page sees it and may take its drop.
#Refuse
The drag stops at the window. The page sees nothing of it and the pointer shows it cannot drop there.
Trait implementations
impl Clone for DragDecisionimpl Copy for DragDecisionimpl Debug for DragDecisionimpl Default for DragDecisionimpl Eq for DragDecisionimpl PartialEq for DragDecision