Struct dioxus_desktop::tao::platform::unix::UnixEventLoop
pub struct UnixEventLoop<T>where
T: 'static,{ /* private fields */ }Implementations§
§impl<T> EventLoop<T>where
T: 'static,
impl<T> EventLoop<T>where
T: 'static,
pub fn new() -> EventLoop<T>
pub fn new_any_thread() -> EventLoop<T>
pub fn run<F>(self, callback: F) -> !where
F: 'static + FnMut(Event<'_, T>, &EventLoopWindowTarget<T>, &mut ControlFlow),
pub fn window_target(&self) -> &EventLoopWindowTarget<T>
pub fn create_proxy(&self) -> EventLoopProxy<T>
pub fn create_proxy(&self) -> EventLoopProxy<T>
Creates an EventLoopProxy that can be used to dispatch user events to the main event loop.