burin 0.1.2

A Rust GUI framework built on the auralis reactive signal kernel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Drag-and-drop data types for OS file drag and drop events.

use crate::style::Point;
use std::path::PathBuf;

/// The payload of a drag-and-drop operation (OS file drop, etc.).
#[derive(Clone, Debug)]
pub struct DropData {
    pub position: Point,
    pub files: Vec<PathBuf>,
    pub text: Option<String>,
}