Trait cosmic::iced_winit::winit::platform::wayland::EventLoopBuilderExtWayland
source · pub trait EventLoopBuilderExtWayland {
// Required methods
fn with_wayland(&mut self) -> &mut Self;
fn with_any_thread(&mut self, any_thread: bool) -> &mut Self;
}
Expand description
Additional methods on EventLoopBuilder
that are specific to Wayland.
Required Methods§
sourcefn with_wayland(&mut self) -> &mut Self
fn with_wayland(&mut self) -> &mut Self
Force using Wayland.
sourcefn with_any_thread(&mut self, any_thread: bool) -> &mut Self
fn with_any_thread(&mut self, any_thread: bool) -> &mut Self
Whether to allow the event loop to be created off of the main thread.
By default, the window is only allowed to be created on the main thread, to make platform compatibility easier.
Object Safety§
This trait is not object safe.