# Struct `kurogane::DragEnter`

```rust
pub struct DragEnter { /* private fields */ }
```

A drag entering a window, passed to
[`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

## Methods

### `files`

```rust
pub fn files(&self) -> &[PathBuf]
```

The paths of the files dragged, as the system gives them; empty for
a drag of no file.

### `link_url`

```rust
pub fn link_url(&self) -> Option<&str>
```

The link dragged, if it is one.

### `text`

```rust
pub fn text(&self) -> Option<&str>
```

The text dragged, if it is some.

### `origin`

```rust
pub fn origin(&self) -> &Origin
```

The origin of the page the drag enters. It is the window's own page.

### `browser`

```rust
pub fn browser(&self) -> Option<BrowserId>
```

The browser the drag enters.

## Trait implementations

- `impl Clone for DragEnter`
- `impl Debug for DragEnter`

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