]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Devices_Display_Core")] |
2 | pub mod Core; | |
3 | pub type DisplayMonitor = *mut ::core::ffi::c_void; | |
04454e1e | 4 | #[doc = "*Required features: `\"Devices_Display\"`*"] |
5e7ed085 FG |
5 | #[repr(transparent)] |
6 | pub struct DisplayMonitorConnectionKind(pub i32); | |
7 | impl 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 | } | |
13 | impl ::core::marker::Copy for DisplayMonitorConnectionKind {} | |
14 | impl ::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)] |
21 | pub struct DisplayMonitorDescriptorKind(pub i32); | |
22 | impl DisplayMonitorDescriptorKind { | |
23 | pub const Edid: Self = Self(0i32); | |
24 | pub const DisplayId: Self = Self(1i32); | |
25 | } | |
26 | impl ::core::marker::Copy for DisplayMonitorDescriptorKind {} | |
27 | impl ::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)] |
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 | } | |
04454e1e | 51 | #[doc = "*Required features: `\"Devices_Display\"`*"] |
5e7ed085 FG |
52 | #[repr(transparent)] |
53 | pub struct DisplayMonitorUsageKind(pub i32); | |
54 | impl DisplayMonitorUsageKind { | |
55 | pub const Standard: Self = Self(0i32); | |
56 | pub const HeadMounted: Self = Self(1i32); | |
57 | pub const SpecialPurpose: Self = Self(2i32); | |
58 | } | |
59 | impl ::core::marker::Copy for DisplayMonitorUsageKind {} | |
60 | impl ::core::clone::Clone for DisplayMonitorUsageKind { | |
61 | fn clone(&self) -> Self { | |
62 | *self | |
63 | } | |
64 | } |