]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Foundation/Numerics/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Foundation / Numerics / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[repr(C)]
3 #[doc = "*Required features: 'Foundation_Numerics'*"]
4 pub struct Matrix3x2 {
5 pub M11: f32,
6 pub M12: f32,
7 pub M21: f32,
8 pub M22: f32,
9 pub M31: f32,
10 pub M32: f32,
11 }
12 impl ::core::marker::Copy for Matrix3x2 {}
13 impl ::core::clone::Clone for Matrix3x2 {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 #[repr(C)]
19 #[doc = "*Required features: 'Foundation_Numerics'*"]
20 pub struct Matrix4x4 {
21 pub M11: f32,
22 pub M12: f32,
23 pub M13: f32,
24 pub M14: f32,
25 pub M21: f32,
26 pub M22: f32,
27 pub M23: f32,
28 pub M24: f32,
29 pub M31: f32,
30 pub M32: f32,
31 pub M33: f32,
32 pub M34: f32,
33 pub M41: f32,
34 pub M42: f32,
35 pub M43: f32,
36 pub M44: f32,
37 }
38 impl ::core::marker::Copy for Matrix4x4 {}
39 impl ::core::clone::Clone for Matrix4x4 {
40 fn clone(&self) -> Self {
41 *self
42 }
43 }
44 #[repr(C)]
45 #[doc = "*Required features: 'Foundation_Numerics'*"]
46 pub struct Plane {
47 pub Normal: Vector3,
48 pub D: f32,
49 }
50 impl ::core::marker::Copy for Plane {}
51 impl ::core::clone::Clone for Plane {
52 fn clone(&self) -> Self {
53 *self
54 }
55 }
56 #[repr(C)]
57 #[doc = "*Required features: 'Foundation_Numerics'*"]
58 pub struct Quaternion {
59 pub X: f32,
60 pub Y: f32,
61 pub Z: f32,
62 pub W: f32,
63 }
64 impl ::core::marker::Copy for Quaternion {}
65 impl ::core::clone::Clone for Quaternion {
66 fn clone(&self) -> Self {
67 *self
68 }
69 }
70 #[repr(C)]
71 #[doc = "*Required features: 'Foundation_Numerics'*"]
72 pub struct Rational {
73 pub Numerator: u32,
74 pub Denominator: u32,
75 }
76 impl ::core::marker::Copy for Rational {}
77 impl ::core::clone::Clone for Rational {
78 fn clone(&self) -> Self {
79 *self
80 }
81 }
82 #[repr(C)]
83 #[doc = "*Required features: 'Foundation_Numerics'*"]
84 pub struct Vector2 {
85 pub X: f32,
86 pub Y: f32,
87 }
88 impl ::core::marker::Copy for Vector2 {}
89 impl ::core::clone::Clone for Vector2 {
90 fn clone(&self) -> Self {
91 *self
92 }
93 }
94 #[repr(C)]
95 #[doc = "*Required features: 'Foundation_Numerics'*"]
96 pub struct Vector3 {
97 pub X: f32,
98 pub Y: f32,
99 pub Z: f32,
100 }
101 impl ::core::marker::Copy for Vector3 {}
102 impl ::core::clone::Clone for Vector3 {
103 fn clone(&self) -> Self {
104 *self
105 }
106 }
107 #[repr(C)]
108 #[doc = "*Required features: 'Foundation_Numerics'*"]
109 pub struct Vector4 {
110 pub X: f32,
111 pub Y: f32,
112 pub Z: f32,
113 pub W: f32,
114 }
115 impl ::core::marker::Copy for Vector4 {}
116 impl ::core::clone::Clone for Vector4 {
117 fn clone(&self) -> Self {
118 *self
119 }
120 }