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