Struct me3_framework::overlay::DroppedFile
source · [−]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 eframe
web backend.
last_modified: Option<SystemTime>
Set by the eframe
web backend.
bytes: Option<Arc<[u8]>>
Set by the eframe
web backend.
Trait Implementations
sourceimpl Clone for DroppedFile
impl Clone for DroppedFile
sourcefn clone(&self) -> DroppedFile
fn clone(&self) -> DroppedFile
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DroppedFile
impl Debug for DroppedFile
sourceimpl Default for DroppedFile
impl Default for DroppedFile
sourcefn default() -> DroppedFile
fn default() -> DroppedFile
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DroppedFile> for DroppedFile
impl PartialEq<DroppedFile> for DroppedFile
sourcefn eq(&self, other: &DroppedFile) -> bool
fn eq(&self, other: &DroppedFile) -> bool
impl StructuralPartialEq for DroppedFile
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more