#[non_exhaustive]pub struct FileDragEvent {
pub uris: Vec<String>,
pub mime_types: Vec<String>,
}Expand description
Local files or directories a drag offers to an element while it enters
(on_file_drag_enter); nothing has been dropped yet, and no file has
been read.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uris: Vec<String>Absolute file: URLs in platform order; encoded filenames are preserved.
mime_types: Vec<String>The MIME type of each of uris, as FileDropEvent::mime_types.
Trait Implementations§
Source§impl Clone for FileDragEvent
impl Clone for FileDragEvent
Source§impl Debug for FileDragEvent
impl Debug for FileDragEvent
Source§impl Default for FileDragEvent
impl Default for FileDragEvent
Source§impl IntoListener<FileDragEvent, ()> for Listener<()>
A stored unit listener may ignore a drag entry’s files.
impl IntoListener<FileDragEvent, ()> for Listener<()>
A stored unit listener may ignore a drag entry’s files.
Source§fn into_listener(self) -> Listener<FileDragEvent>
fn into_listener(self) -> Listener<FileDragEvent>
As the listener.
Source§impl PartialEq for FileDragEvent
impl PartialEq for FileDragEvent
impl StructuralPartialEq for FileDragEvent
Auto Trait Implementations§
impl Forget for FileDragEvent
impl Freeze for FileDragEvent
impl Move for FileDragEvent
impl RefUnwindSafe for FileDragEvent
impl Send for FileDragEventwhere
RawVecInner: Send,
impl Sync for FileDragEventwhere
RawVecInner: Sync,
impl Unpin for FileDragEvent
impl UnsafeUnpin for FileDragEvent
impl UnwindSafe for FileDragEventwhere
RawVecInner: UnwindSafe,
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