Document File{Dropped,Hovered,HoveredLeft} as unsupported on wayland

Blocked on https://github.com/rust-windowing/winit/issues/1881
This commit is contained in:
bbb651 2024-09-29 16:28:05 +03:00
parent 75548373a7
commit afecc0f367

View file

@ -46,17 +46,29 @@ pub enum Event {
/// ///
/// When the user hovers multiple files at once, this event will be emitted /// When the user hovers multiple files at once, this event will be emitted
/// for each file separately. /// for each file separately.
///
/// ## Platform-specific
///
/// - **Wayland:** Not implemented.
FileHovered(PathBuf), FileHovered(PathBuf),
/// A file has been dropped into the window. /// A file has been dropped into the window.
/// ///
/// When the user drops multiple files at once, this event will be emitted /// When the user drops multiple files at once, this event will be emitted
/// for each file separately. /// for each file separately.
///
/// ## Platform-specific
///
/// - **Wayland:** Not implemented.
FileDropped(PathBuf), FileDropped(PathBuf),
/// A file was hovered, but has exited the window. /// A file was hovered, but has exited the window.
/// ///
/// There will be a single `FilesHoveredLeft` event triggered even if /// There will be a single `FilesHoveredLeft` event triggered even if
/// multiple files were hovered. /// multiple files were hovered.
///
/// ## Platform-specific
///
/// - **Wayland:** Not implemented.
FilesHoveredLeft, FilesHoveredLeft,
} }