pub struct WindowDroppedFileEvent {
pub window_id: WindowId,
pub file: PathBuf,
}Expand description
A file was dropped on a window.
Fields§
§window_id: WindowIdThe ID of the window.
file: PathBufThe path of the file.
Trait Implementations§
Source§impl Clone for WindowDroppedFileEvent
impl Clone for WindowDroppedFileEvent
Source§fn clone(&self) -> WindowDroppedFileEvent
fn clone(&self) -> WindowDroppedFileEvent
Returns a duplicate 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 WindowDroppedFileEvent
impl Debug for WindowDroppedFileEvent
Source§impl From<WindowDroppedFileEvent> for WindowEvent
impl From<WindowDroppedFileEvent> for WindowEvent
Source§fn from(other: WindowDroppedFileEvent) -> Self
fn from(other: WindowDroppedFileEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WindowDroppedFileEvent
impl RefUnwindSafe for WindowDroppedFileEvent
impl Send for WindowDroppedFileEvent
impl Sync for WindowDroppedFileEvent
impl Unpin for WindowDroppedFileEvent
impl UnwindSafe for WindowDroppedFileEvent
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