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