Merge pull request #253 from lloydac/monitorid_clone

Derive Clone for MonitorId
This commit is contained in:
tomaka 2017-08-06 07:13:19 +02:00 committed by GitHub
commit 8e3e60b1c3

View file

@ -349,6 +349,7 @@ pub fn get_primary_monitor() -> MonitorId {
} }
/// Identifier for a monitor. /// Identifier for a monitor.
#[derive(Clone)]
pub struct MonitorId(platform::MonitorId); pub struct MonitorId(platform::MonitorId);
impl MonitorId { impl MonitorId {