Menu

Enum

DragDecision

kurogane::DragDecisionSource
#[non_exhaustive] pub enum DragDecision { Default, Allow, Refuse, }

The answer of App::on_drag_enter.

Variants

#Default

Kurogane’s policy. The drag goes on as with Allow.

#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