Trait WindowExtWayland

Source
pub trait WindowExtWayland {
    // Required methods
    fn xdg_surface_handle<'a>(&'a self) -> Option<&dyn HasXdgSurfaceHandle>;
    fn xdg_toplevel_handle<'a>(&'a self) -> Option<&dyn HasXdgToplevelHandle>;
    fn window_state(&self) -> Option<WindowState>;
}
Expand description

Additional methods on Window that are specific to Wayland.

Required Methods§

Source

fn xdg_surface_handle<'a>(&'a self) -> Option<&dyn HasXdgSurfaceHandle>

Source

fn xdg_toplevel_handle<'a>(&'a self) -> Option<&dyn HasXdgToplevelHandle>

Source

fn window_state(&self) -> Option<WindowState>

Get the state of the window

Implementors§