Struct egui::data::input::HoveredFile
source · pub struct HoveredFile {
pub path: Option<PathBuf>,
pub mime: String,
}
Expand description
A file about to be dropped into egui.
Fields§
§path: Option<PathBuf>
Set by the egui-winit
backend.
mime: String
With the eframe
web backend, this is set to the mime-type of the file (if available).
Trait Implementations§
source§impl Clone for HoveredFile
impl Clone for HoveredFile
source§fn clone(&self) -> HoveredFile
fn clone(&self) -> HoveredFile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HoveredFile
impl Debug for HoveredFile
source§impl Default for HoveredFile
impl Default for HoveredFile
source§fn default() -> HoveredFile
fn default() -> HoveredFile
Returns the “default value” for a type. Read more
source§impl PartialEq for HoveredFile
impl PartialEq for HoveredFile
impl Eq for HoveredFile
impl StructuralPartialEq for HoveredFile
Auto Trait Implementations§
impl Freeze for HoveredFile
impl RefUnwindSafe for HoveredFile
impl Send for HoveredFile
impl Sync for HoveredFile
impl Unpin for HoveredFile
impl UnwindSafe for HoveredFile
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)