]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Foundation/Numerics/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Foundation / Numerics / mod.rs
CommitLineData
5e7ed085 1#[repr(C)]
04454e1e 2#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
3pub 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}
11impl ::core::marker::Copy for Matrix3x2 {}
12impl ::core::clone::Clone for Matrix3x2 {
13 fn clone(&self) -> Self {
14 *self
15 }
16}
17#[repr(C)]
04454e1e 18#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
19pub 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}
37impl ::core::marker::Copy for Matrix4x4 {}
38impl ::core::clone::Clone for Matrix4x4 {
39 fn clone(&self) -> Self {
40 *self
41 }
42}
43#[repr(C)]
04454e1e 44#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
45pub struct Plane {
46 pub Normal: Vector3,
47 pub D: f32,
48}
49impl ::core::marker::Copy for Plane {}
50impl ::core::clone::Clone for Plane {
51 fn clone(&self) -> Self {
52 *self
53 }
54}
55#[repr(C)]
04454e1e 56#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
57pub struct Quaternion {
58 pub X: f32,
59 pub Y: f32,
60 pub Z: f32,
61 pub W: f32,
62}
63impl ::core::marker::Copy for Quaternion {}
64impl ::core::clone::Clone for Quaternion {
65 fn clone(&self) -> Self {
66 *self
67 }
68}
69#[repr(C)]
04454e1e 70#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
71pub struct Rational {
72 pub Numerator: u32,
73 pub Denominator: u32,
74}
75impl ::core::marker::Copy for Rational {}
76impl ::core::clone::Clone for Rational {
77 fn clone(&self) -> Self {
78 *self
79 }
80}
81#[repr(C)]
04454e1e 82#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
83pub struct Vector2 {
84 pub X: f32,
85 pub Y: f32,
86}
87impl ::core::marker::Copy for Vector2 {}
88impl ::core::clone::Clone for Vector2 {
89 fn clone(&self) -> Self {
90 *self
91 }
92}
93#[repr(C)]
04454e1e 94#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
95pub struct Vector3 {
96 pub X: f32,
97 pub Y: f32,
98 pub Z: f32,
99}
100impl ::core::marker::Copy for Vector3 {}
101impl ::core::clone::Clone for Vector3 {
102 fn clone(&self) -> Self {
103 *self
104 }
105}
106#[repr(C)]
04454e1e 107#[doc = "*Required features: `\"Foundation_Numerics\"`*"]
5e7ed085
FG
108pub struct Vector4 {
109 pub X: f32,
110 pub Y: f32,
111 pub Z: f32,
112 pub W: f32,
113}
114impl ::core::marker::Copy for Vector4 {}
115impl ::core::clone::Clone for Vector4 {
116 fn clone(&self) -> Self {
117 *self
118 }
119}