Enum dioxus_mobile::wry::webview::FileDropEvent [−]
#[non_exhaustive]
pub enum FileDropEvent {
Hovered(Vec<PathBuf, Global>),
Dropped(Vec<PathBuf, Global>),
Cancelled,
}
Expand description
An event enumeration sent to [FileDropHandler
].
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Hovered(Vec<PathBuf, Global>)
The file(s) have been dragged onto the window, but have not been dropped yet.
Dropped(Vec<PathBuf, Global>)
The file(s) have been dropped onto the window.
Cancelled
The file drop was aborted.
Trait Implementations
impl Clone for FileDropEvent
impl Clone for FileDropEvent
pub fn clone(&self) -> FileDropEvent
pub fn clone(&self) -> FileDropEvent
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for FileDropEvent
impl Debug for FileDropEvent
impl Serialize for FileDropEvent
impl Serialize for FileDropEvent
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileDropEvent
impl Send for FileDropEvent
impl Sync for FileDropEvent
impl Unpin for FileDropEvent
impl UnwindSafe for FileDropEvent
Blanket Implementations
Mutably borrows from an owned value. Read more