1 | #[repr (C)] |
2 | #[derive (Clone, Copy, Debug, Default, PartialEq)] |
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 windows_core::TypeKind for Matrix3x2 { |
12 | type TypeKind = windows_core::CopyType; |
13 | } |
14 | impl windows_core::RuntimeType for Matrix3x2 { |
15 | const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice( |
16 | b"struct(Windows.Foundation.Numerics.Matrix3x2;f4;f4;f4;f4;f4;f4)" , |
17 | ); |
18 | } |
19 | #[repr (C)] |
20 | #[derive (Clone, Copy, Debug, Default, PartialEq)] |
21 | pub struct Matrix4x4 { |
22 | pub M11: f32, |
23 | pub M12: f32, |
24 | pub M13: f32, |
25 | pub M14: f32, |
26 | pub M21: f32, |
27 | pub M22: f32, |
28 | pub M23: f32, |
29 | pub M24: f32, |
30 | pub M31: f32, |
31 | pub M32: f32, |
32 | pub M33: f32, |
33 | pub M34: f32, |
34 | pub M41: f32, |
35 | pub M42: f32, |
36 | pub M43: f32, |
37 | pub M44: f32, |
38 | } |
39 | impl windows_core::TypeKind for Matrix4x4 { |
40 | type TypeKind = windows_core::CopyType; |
41 | } |
42 | impl windows_core::RuntimeType for Matrix4x4 { |
43 | const SIGNATURE :windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice ( b"struct(Windows.Foundation.Numerics.Matrix4x4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4;f4)" ) ; |
44 | } |
45 | #[repr (C)] |
46 | #[derive (Clone, Copy, Debug, Default, PartialEq)] |
47 | pub struct Vector2 { |
48 | pub X: f32, |
49 | pub Y: f32, |
50 | } |
51 | impl windows_core::TypeKind for Vector2 { |
52 | type TypeKind = windows_core::CopyType; |
53 | } |
54 | impl windows_core::RuntimeType for Vector2 { |
55 | const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice( |
56 | b"struct(Windows.Foundation.Numerics.Vector2;f4;f4)" , |
57 | ); |
58 | } |
59 | #[repr (C)] |
60 | #[derive (Clone, Copy, Debug, Default, PartialEq)] |
61 | pub struct Vector3 { |
62 | pub X: f32, |
63 | pub Y: f32, |
64 | pub Z: f32, |
65 | } |
66 | impl windows_core::TypeKind for Vector3 { |
67 | type TypeKind = windows_core::CopyType; |
68 | } |
69 | impl windows_core::RuntimeType for Vector3 { |
70 | const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice( |
71 | b"struct(Windows.Foundation.Numerics.Vector3;f4;f4;f4)" , |
72 | ); |
73 | } |
74 | #[repr (C)] |
75 | #[derive (Clone, Copy, Debug, Default, PartialEq)] |
76 | pub struct Vector4 { |
77 | pub X: f32, |
78 | pub Y: f32, |
79 | pub Z: f32, |
80 | pub W: f32, |
81 | } |
82 | impl windows_core::TypeKind for Vector4 { |
83 | type TypeKind = windows_core::CopyType; |
84 | } |
85 | impl windows_core::RuntimeType for Vector4 { |
86 | const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice( |
87 | b"struct(Windows.Foundation.Numerics.Vector4;f4;f4;f4;f4)" , |
88 | ); |
89 | } |
90 | |