Rename internal structs for consistency (#2149)

Proxy -> EventLoopProxy
Id -> WindowId or DeviceId
WindowTarget -> EventLoopWindowTarget
Handle -> MonitorHandle
Mode -> VideoMode
PlatformSpecificBuilderAttributes -> PlatformSpecificWindowBuilderAttributes
SuperWindowId -> RootWindowId
This commit is contained in:
Mads Marquart
2022-03-18 14:09:39 +01:00
committed by GitHub
parent 85baf79d17
commit a438091266
12 changed files with 134 additions and 135 deletions

View File

@@ -1,8 +1,8 @@
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct Id(pub i32);
pub struct DeviceId(pub i32);
impl Id {
impl DeviceId {
pub const unsafe fn dummy() -> Self {
Id(0)
Self(0)
}
}