Struct dotrix_egui::DroppedFile [−][src]
pub struct DroppedFile {
pub path: Option<PathBuf>,
pub name: String,
pub last_modified: Option<SystemTime>,
pub bytes: Option<Arc<[u8]>>,
}
Expand description
A file dropped into egui.
Fields
path: Option<PathBuf>
Set by the egui_glium
backend.
name: String
Name of the file. Set by the egui_web
backend.
last_modified: Option<SystemTime>
Set by the egui_web
backend.
bytes: Option<Arc<[u8]>>
Set by the egui_web
backend.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DroppedFile
impl Send for DroppedFile
impl Sync for DroppedFile
impl Unpin for DroppedFile
impl UnwindSafe for DroppedFile
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more