Trait wry::application::platform::unix::EventLoopExtUnix
source · pub trait EventLoopExtUnix {
// Required method
fn new_any_thread() -> Self
where Self: Sized;
}
Expand description
Additional methods on EventLoop
that are specific to Unix.
Required Methods§
sourcefn new_any_thread() -> Selfwhere
Self: Sized,
fn new_any_thread() -> Selfwhere Self: Sized,
Builds a new EventLoop
on any thread.
This method bypasses the cross-platform compatibility requirement
that EventLoop
be created on the main thread.