Trait limn_core::prelude::glutin::os::unix::EventsLoopExt
[−]
pub trait EventsLoopExt { fn new_x11() -> Result<Self, XNotSupported>; fn new_wayland() -> Self; fn is_wayland(&self) -> bool; fn is_x11(&self) -> bool; }
Additional methods on EventsLoop
that are specific to Linux.
Required Methods
fn new_x11() -> Result<Self, XNotSupported>
Builds a new EventsLoop
that is forced to use X11.
fn new_wayland() -> Self
Builds a new EventsLoop
that is forced to use Wayland.
fn is_wayland(&self) -> bool
True if the EventsLoop
uses Wayland.
fn is_x11(&self) -> bool
True if the EventsLoop
uses X11.
Implementors
impl EventsLoopExt for EventsLoop