Merge pull request #179 from jwilm/clone-winit-eventsloop

Derive Clone on winit::EventsLoop wrapper
This commit is contained in:
tomaka 2017-05-12 09:09:57 +02:00 committed by GitHub
commit ce8682be2e

View file

@ -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>,
} }