winit::platform::unix

Trait EventLoopWindowTargetExtUnix

Source
pub trait EventLoopWindowTargetExtUnix {
    // Required method
    fn is_wayland(&self) -> bool;
}
Available on x11_platform or wayland_platform only.
Expand description

Additional methods on EventLoopWindowTarget that are specific to Unix.

Required Methods§

Source

fn is_wayland(&self) -> bool

True if the EventLoopWindowTarget uses Wayland.

Implementors§