mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 21:30:03 -04:00
Merge pull request #179 from jwilm/clone-winit-eventsloop
Derive Clone on winit::EventsLoop wrapper
This commit is contained in:
@@ -187,6 +187,7 @@ pub struct ButtonId(u32);
|
|||||||
|
|
||||||
/// Provides a way to retreive events from the windows that were registered to it.
|
/// Provides a way to retreive events from the windows that were registered to it.
|
||||||
// TODO: document usage in multiple threads
|
// TODO: document usage in multiple threads
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct EventsLoop {
|
pub struct EventsLoop {
|
||||||
events_loop: Arc<platform::EventsLoop>,
|
events_loop: Arc<platform::EventsLoop>,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user