iced_runtime/platform_specific/wayland/mod.rs
1//! Wayland-specific platform actions.
2//!
3//! This module provides actions for Wayland-specific features like
4//! popup surfaces that extend outside the parent window.
5
6use std::fmt;
7
8/// Popup surface actions
9pub mod popup;
10
11/// Wayland-specific actions.
12#[derive(Clone)]
13pub enum Action {
14 /// Popup surface action
15 Popup(popup::Action),
16}
17
18impl fmt::Debug for Action {
19 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
20 match self {
21 Action::Popup(action) => f.debug_tuple("Popup").field(action).finish(),
22 }
23 }
24}