From 24f5b0b591c7f924b15ea4f28465e8edfc7a9dbb Mon Sep 17 00:00:00 2001 From: Lloyd Cunningham Date: Sat, 5 Aug 2017 18:15:50 -0500 Subject: [PATCH] Derive Clone for MonitorId --- src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.rs b/src/window.rs index d93ee470..c499eaf6 100644 --- a/src/window.rs +++ b/src/window.rs @@ -349,6 +349,7 @@ pub fn get_primary_monitor() -> MonitorId { } /// Identifier for a monitor. +#[derive(Clone)] pub struct MonitorId(platform::MonitorId); impl MonitorId {