# Enum `kurogane::DragDecision`

```rust
#[non_exhaustive]
pub enum DragDecision {
    Default,
    Allow,
    Refuse,
}
```

The answer of [`App::on_drag_enter`](https://kurogane-rs.org/docs/api/app/app.md#method.on_drag_enter).

[crate::App::on_drag_enter]: https://kurogane-rs.org/docs/api/app/app.md#method.on_drag_enter

## Variants

### `Default`

```rust
Default
```

Kurogane's policy. The drag goes on as with [`Allow`](https://kurogane-rs.org/docs/api/requests/dragdecision.md#variant.Allow).

[Self::Allow]: https://kurogane-rs.org/docs/api/requests/dragdecision.md#variant.Allow

### `Allow`

```rust
Allow
```

The drag goes on. The page sees it and may take its drop.

### `Refuse`

```rust
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 DragDecision`
- `impl Copy for DragDecision`
- `impl Debug for DragDecision`
- `impl Default for DragDecision`
- `impl Eq for DragDecision`
- `impl PartialEq for DragDecision`

Source: https://github.com/0x48piraj/kurogane/blob/584c586118ee53cc04604007ee038557bd859092/kurogane/src/drag.rs#L80
