]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Graphics/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / Graphics / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "Graphics_Capture")]
3 pub mod Capture;
4 #[cfg(feature = "Graphics_DirectX")]
5 pub mod DirectX;
6 #[cfg(feature = "Graphics_Display")]
7 pub mod Display;
8 #[cfg(feature = "Graphics_Effects")]
9 pub mod Effects;
10 #[cfg(feature = "Graphics_Holographic")]
11 pub mod Holographic;
12 #[cfg(feature = "Graphics_Imaging")]
13 pub mod Imaging;
14 #[cfg(feature = "Graphics_Printing")]
15 pub mod Printing;
16 #[cfg(feature = "Graphics_Printing3D")]
17 pub mod Printing3D;
18 #[link(name = "windows")]
19 extern "system" {}
20 #[repr(C)]
21 pub struct DisplayAdapterId {
22 pub LowPart: u32,
23 pub HighPart: i32,
24 }
25 impl ::core::marker::Copy for DisplayAdapterId {}
26 impl ::core::clone::Clone for DisplayAdapterId {
27 fn clone(&self) -> Self {
28 *self
29 }
30 }
31 #[repr(C)]
32 pub struct DisplayId {
33 pub Value: u64,
34 }
35 impl ::core::marker::Copy for DisplayId {}
36 impl ::core::clone::Clone for DisplayId {
37 fn clone(&self) -> Self {
38 *self
39 }
40 }
41 pub type IGeometrySource2D = *mut ::core::ffi::c_void;
42 #[repr(C)]
43 pub struct PointInt32 {
44 pub X: i32,
45 pub Y: i32,
46 }
47 impl ::core::marker::Copy for PointInt32 {}
48 impl ::core::clone::Clone for PointInt32 {
49 fn clone(&self) -> Self {
50 *self
51 }
52 }
53 #[repr(C)]
54 pub struct RectInt32 {
55 pub X: i32,
56 pub Y: i32,
57 pub Width: i32,
58 pub Height: i32,
59 }
60 impl ::core::marker::Copy for RectInt32 {}
61 impl ::core::clone::Clone for RectInt32 {
62 fn clone(&self) -> Self {
63 *self
64 }
65 }
66 #[repr(C)]
67 pub struct SizeInt32 {
68 pub Width: i32,
69 pub Height: i32,
70 }
71 impl ::core::marker::Copy for SizeInt32 {}
72 impl ::core::clone::Clone for SizeInt32 {
73 fn clone(&self) -> Self {
74 *self
75 }
76 }