Struct wry::application::platform::unix::UnixEventLoop
source · [−]pub struct UnixEventLoop<T> where
T: 'static, { /* private fields */ }
Implementations
sourceimpl<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>
sourcepub 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.
Auto Trait Implementations
impl<T> !RefUnwindSafe for EventLoop<T>
impl<T> !Send for EventLoop<T>
impl<T> !Sync for EventLoop<T>
impl<T> Unpin for EventLoop<T> where
T: Unpin,
impl<T> !UnwindSafe for EventLoop<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more