Trait WindowExtWayland

Source
pub trait WindowExtWayland {
    // Required method
    fn xdg_toplevel(&self) -> Option<NonNull<c_void>>;
}
Expand description

Additional methods on Window that are specific to Wayland.

Required Methods§

Source

fn xdg_toplevel(&self) -> Option<NonNull<c_void>>

Returns xdg_toplevel of the window or None if the window is X11 window.

Implementors§