Derive Clone on winit::EventsLoop wrapper

Resolves #177.
This commit is contained in:
Joe Wilm 2017-05-11 23:04:28 -07:00
parent ad8d2b0470
commit 55b5054d50

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