pub struct FileDropResponse {
pub response: Response,
pub dropped_files: Vec<DroppedFile>,
}Expand description
The result of rendering a FileDropZone.
Fields§
§response: ResponseThe underlying egui Response: use .clicked() to open a picker
and .has_focus() for keyboard handling.
dropped_files: Vec<DroppedFile>Files dropped on the zone this frame. Empty when nothing was dropped or the drop landed outside the zone’s rect.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileDropResponse
impl !RefUnwindSafe for FileDropResponse
impl Send for FileDropResponse
impl Sync for FileDropResponse
impl Unpin for FileDropResponse
impl UnsafeUnpin for FileDropResponse
impl !UnwindSafe for FileDropResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more