]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Devices/Display/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Display / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Devices_Display_Core")]
3 pub mod Core;
4 pub type DisplayMonitor = *mut ::core::ffi::c_void;
5 #[doc = "*Required features: `\"Devices_Display\"`*"]
6 #[repr(transparent)]
7 pub struct DisplayMonitorConnectionKind(pub i32);
8 impl DisplayMonitorConnectionKind {
9 pub const Internal: Self = Self(0i32);
10 pub const Wired: Self = Self(1i32);
11 pub const Wireless: Self = Self(2i32);
12 pub const Virtual: Self = Self(3i32);
13 }
14 impl ::core::marker::Copy for DisplayMonitorConnectionKind {}
15 impl ::core::clone::Clone for DisplayMonitorConnectionKind {
16 fn clone(&self) -> Self {
17 *self
18 }
19 }
20 #[doc = "*Required features: `\"Devices_Display\"`*"]
21 #[repr(transparent)]
22 pub struct DisplayMonitorDescriptorKind(pub i32);
23 impl DisplayMonitorDescriptorKind {
24 pub const Edid: Self = Self(0i32);
25 pub const DisplayId: Self = Self(1i32);
26 }
27 impl ::core::marker::Copy for DisplayMonitorDescriptorKind {}
28 impl ::core::clone::Clone for DisplayMonitorDescriptorKind {
29 fn clone(&self) -> Self {
30 *self
31 }
32 }
33 #[doc = "*Required features: `\"Devices_Display\"`*"]
34 #[repr(transparent)]
35 pub struct DisplayMonitorPhysicalConnectorKind(pub i32);
36 impl DisplayMonitorPhysicalConnectorKind {
37 pub const Unknown: Self = Self(0i32);
38 pub const HD15: Self = Self(1i32);
39 pub const AnalogTV: Self = Self(2i32);
40 pub const Dvi: Self = Self(3i32);
41 pub const Hdmi: Self = Self(4i32);
42 pub const Lvds: Self = Self(5i32);
43 pub const Sdi: Self = Self(6i32);
44 pub const DisplayPort: Self = Self(7i32);
45 }
46 impl ::core::marker::Copy for DisplayMonitorPhysicalConnectorKind {}
47 impl ::core::clone::Clone for DisplayMonitorPhysicalConnectorKind {
48 fn clone(&self) -> Self {
49 *self
50 }
51 }
52 #[doc = "*Required features: `\"Devices_Display\"`*"]
53 #[repr(transparent)]
54 pub struct DisplayMonitorUsageKind(pub i32);
55 impl DisplayMonitorUsageKind {
56 pub const Standard: Self = Self(0i32);
57 pub const HeadMounted: Self = Self(1i32);
58 pub const SpecialPurpose: Self = Self(2i32);
59 }
60 impl ::core::marker::Copy for DisplayMonitorUsageKind {}
61 impl ::core::clone::Clone for DisplayMonitorUsageKind {
62 fn clone(&self) -> Self {
63 *self
64 }
65 }