Trait winit::platform::unix::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§
sourcefn is_wayland(&self) -> bool
fn is_wayland(&self) -> bool
True if the EventLoopWindowTarget
uses Wayland.