mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
winit-core: add EventLoopProvider for common methods
Thus implementing winit main event loop API is standardized.
This commit is contained in:
@@ -125,7 +125,7 @@ pub trait ApplicationHandler {
|
||||
/// use std::thread;
|
||||
/// use std::time::Duration;
|
||||
///
|
||||
/// use winit::event_loop::EventLoop;
|
||||
/// use winit::event_loop::{EventLoop, EventLoopProvider};
|
||||
/// use winit_core::application::ApplicationHandler;
|
||||
/// use winit_core::event_loop::ActiveEventLoop;
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user