pub struct FileHovered {
pub path: PathBuf,
pub position: Vec2,
}Expand description
Emitted while a file is dragged over the window prior to drop; forwarded by backends from the OS drag-and-drop session.
Fields§
§path: PathBufPath of the source file (absolute when the OS provides it).
position: Vec2Cursor position at the time of the hover event.
Trait Implementations§
Source§impl Clone for FileHovered
impl Clone for FileHovered
Source§fn clone(&self) -> FileHovered
fn clone(&self) -> FileHovered
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileHovered
impl Debug for FileHovered
impl Message for FileHovered
Auto Trait Implementations§
impl Freeze for FileHovered
impl RefUnwindSafe for FileHovered
impl Send for FileHovered
impl Sync for FileHovered
impl Unpin for FileHovered
impl UnsafeUnpin for FileHovered
impl UnwindSafe for FileHovered
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.