Struct 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-winit
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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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