Derive Clone for MonitorId

This commit is contained in:
Lloyd Cunningham 2017-08-05 18:15:50 -05:00
parent 4202c35786
commit 24f5b0b591

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 {