From 55b5054d5031ca9f94b5b2383dee1538c97351b9 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Thu, 11 May 2017 23:04:28 -0700 Subject: [PATCH] Derive Clone on winit::EventsLoop wrapper Resolves #177. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 624d99c5..623f03c3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -187,6 +187,7 @@ pub struct ButtonId(u32); /// Provides a way to retreive events from the windows that were registered to it. // TODO: document usage in multiple threads +#[derive(Clone)] pub struct EventsLoop { events_loop: Arc, }