mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 22:00:04 -04:00
Derive Clone for MonitorId
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user