]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Devices/Display/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / 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 #[link(name = "windows")]
5 extern "system" {}
6 pub type DisplayMonitor = *mut ::core::ffi::c_void;
7 #[repr(transparent)]
8 pub struct DisplayMonitorConnectionKind(pub i32);
9 impl DisplayMonitorConnectionKind {
10 pub const Internal: Self = Self(0i32);
11 pub const Wired: Self = Self(1i32);
12 pub const Wireless: Self = Self(2i32);
13 pub const Virtual: Self = Self(3i32);
14 }
15 impl ::core::marker::Copy for DisplayMonitorConnectionKind {}
16 impl ::core::clone::Clone for DisplayMonitorConnectionKind {
17 fn clone(&self) -> Self {
18 *self
19 }
20 }
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 #[repr(transparent)]
34 pub struct DisplayMonitorPhysicalConnectorKind(pub i32);
35 impl 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 }
45 impl ::core::marker::Copy for DisplayMonitorPhysicalConnectorKind {}
46 impl ::core::clone::Clone for DisplayMonitorPhysicalConnectorKind {
47 fn clone(&self) -> Self {
48 *self
49 }
50 }
51 #[repr(transparent)]
52 pub struct DisplayMonitorUsageKind(pub i32);
53 impl DisplayMonitorUsageKind {
54 pub const Standard: Self = Self(0i32);
55 pub const HeadMounted: Self = Self(1i32);
56 pub const SpecialPurpose: Self = Self(2i32);
57 }
58 impl ::core::marker::Copy for DisplayMonitorUsageKind {}
59 impl ::core::clone::Clone for DisplayMonitorUsageKind {
60 fn clone(&self) -> Self {
61 *self
62 }
63 }