mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Added mime field to DroppedFiles (#3273)
This commit is contained in:
@@ -155,6 +155,9 @@ pub struct DroppedFile {
|
||||
/// Name of the file. Set by the `eframe` web backend.
|
||||
pub name: String,
|
||||
|
||||
/// With the `eframe` web backend, this is set to the mime-type of the file (if available).
|
||||
pub mime: String,
|
||||
|
||||
/// Set by the `eframe` web backend.
|
||||
pub last_modified: Option<std::time::SystemTime>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user