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