]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Graphics/Printing3D/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Graphics / Printing3D / mod.rs
1 pub type Print3DManager = *mut ::core::ffi::c_void;
2 pub type Print3DTask = *mut ::core::ffi::c_void;
3 pub type Print3DTaskCompletedEventArgs = *mut ::core::ffi::c_void;
4 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5 #[repr(transparent)]
6 pub struct Print3DTaskCompletion(pub i32);
7 impl Print3DTaskCompletion {
8 pub const Abandoned: Self = Self(0i32);
9 pub const Canceled: Self = Self(1i32);
10 pub const Failed: Self = Self(2i32);
11 pub const Slicing: Self = Self(3i32);
12 pub const Submitted: Self = Self(4i32);
13 }
14 impl ::core::marker::Copy for Print3DTaskCompletion {}
15 impl ::core::clone::Clone for Print3DTaskCompletion {
16 fn clone(&self) -> Self {
17 *self
18 }
19 }
20 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
21 #[repr(transparent)]
22 pub struct Print3DTaskDetail(pub i32);
23 impl Print3DTaskDetail {
24 pub const Unknown: Self = Self(0i32);
25 pub const ModelExceedsPrintBed: Self = Self(1i32);
26 pub const UploadFailed: Self = Self(2i32);
27 pub const InvalidMaterialSelection: Self = Self(3i32);
28 pub const InvalidModel: Self = Self(4i32);
29 pub const ModelNotManifold: Self = Self(5i32);
30 pub const InvalidPrintTicket: Self = Self(6i32);
31 }
32 impl ::core::marker::Copy for Print3DTaskDetail {}
33 impl ::core::clone::Clone for Print3DTaskDetail {
34 fn clone(&self) -> Self {
35 *self
36 }
37 }
38 pub type Print3DTaskRequest = *mut ::core::ffi::c_void;
39 pub type Print3DTaskRequestedEventArgs = *mut ::core::ffi::c_void;
40 pub type Print3DTaskSourceChangedEventArgs = *mut ::core::ffi::c_void;
41 pub type Print3DTaskSourceRequestedArgs = *mut ::core::ffi::c_void;
42 pub type Print3DTaskSourceRequestedHandler = *mut ::core::ffi::c_void;
43 pub type Printing3D3MFPackage = *mut ::core::ffi::c_void;
44 pub type Printing3DBaseMaterial = *mut ::core::ffi::c_void;
45 pub type Printing3DBaseMaterialGroup = *mut ::core::ffi::c_void;
46 #[repr(C)]
47 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
48 pub struct Printing3DBufferDescription {
49 pub Format: Printing3DBufferFormat,
50 pub Stride: u32,
51 }
52 impl ::core::marker::Copy for Printing3DBufferDescription {}
53 impl ::core::clone::Clone for Printing3DBufferDescription {
54 fn clone(&self) -> Self {
55 *self
56 }
57 }
58 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
59 #[repr(transparent)]
60 pub struct Printing3DBufferFormat(pub i32);
61 impl Printing3DBufferFormat {
62 pub const Unknown: Self = Self(0i32);
63 pub const R32G32B32A32Float: Self = Self(2i32);
64 pub const R32G32B32A32UInt: Self = Self(3i32);
65 pub const R32G32B32Float: Self = Self(6i32);
66 pub const R32G32B32UInt: Self = Self(7i32);
67 pub const Printing3DDouble: Self = Self(500i32);
68 pub const Printing3DUInt: Self = Self(501i32);
69 }
70 impl ::core::marker::Copy for Printing3DBufferFormat {}
71 impl ::core::clone::Clone for Printing3DBufferFormat {
72 fn clone(&self) -> Self {
73 *self
74 }
75 }
76 pub type Printing3DColorMaterial = *mut ::core::ffi::c_void;
77 pub type Printing3DColorMaterialGroup = *mut ::core::ffi::c_void;
78 pub type Printing3DComponent = *mut ::core::ffi::c_void;
79 pub type Printing3DComponentWithMatrix = *mut ::core::ffi::c_void;
80 pub type Printing3DCompositeMaterial = *mut ::core::ffi::c_void;
81 pub type Printing3DCompositeMaterialGroup = *mut ::core::ffi::c_void;
82 pub type Printing3DFaceReductionOptions = *mut ::core::ffi::c_void;
83 pub type Printing3DMaterial = *mut ::core::ffi::c_void;
84 pub type Printing3DMesh = *mut ::core::ffi::c_void;
85 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
86 #[repr(transparent)]
87 pub struct Printing3DMeshVerificationMode(pub i32);
88 impl Printing3DMeshVerificationMode {
89 pub const FindFirstError: Self = Self(0i32);
90 pub const FindAllErrors: Self = Self(1i32);
91 }
92 impl ::core::marker::Copy for Printing3DMeshVerificationMode {}
93 impl ::core::clone::Clone for Printing3DMeshVerificationMode {
94 fn clone(&self) -> Self {
95 *self
96 }
97 }
98 pub type Printing3DMeshVerificationResult = *mut ::core::ffi::c_void;
99 pub type Printing3DModel = *mut ::core::ffi::c_void;
100 pub type Printing3DModelTexture = *mut ::core::ffi::c_void;
101 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
102 #[repr(transparent)]
103 pub struct Printing3DModelUnit(pub i32);
104 impl Printing3DModelUnit {
105 pub const Meter: Self = Self(0i32);
106 pub const Micron: Self = Self(1i32);
107 pub const Millimeter: Self = Self(2i32);
108 pub const Centimeter: Self = Self(3i32);
109 pub const Inch: Self = Self(4i32);
110 pub const Foot: Self = Self(5i32);
111 }
112 impl ::core::marker::Copy for Printing3DModelUnit {}
113 impl ::core::clone::Clone for Printing3DModelUnit {
114 fn clone(&self) -> Self {
115 *self
116 }
117 }
118 pub type Printing3DMultiplePropertyMaterial = *mut ::core::ffi::c_void;
119 pub type Printing3DMultiplePropertyMaterialGroup = *mut ::core::ffi::c_void;
120 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
121 #[repr(transparent)]
122 pub struct Printing3DObjectType(pub i32);
123 impl Printing3DObjectType {
124 pub const Model: Self = Self(0i32);
125 pub const Support: Self = Self(1i32);
126 pub const Others: Self = Self(2i32);
127 }
128 impl ::core::marker::Copy for Printing3DObjectType {}
129 impl ::core::clone::Clone for Printing3DObjectType {
130 fn clone(&self) -> Self {
131 *self
132 }
133 }
134 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
135 #[repr(transparent)]
136 pub struct Printing3DPackageCompression(pub i32);
137 impl Printing3DPackageCompression {
138 pub const Low: Self = Self(0i32);
139 pub const Medium: Self = Self(1i32);
140 pub const High: Self = Self(2i32);
141 }
142 impl ::core::marker::Copy for Printing3DPackageCompression {}
143 impl ::core::clone::Clone for Printing3DPackageCompression {
144 fn clone(&self) -> Self {
145 *self
146 }
147 }
148 pub type Printing3DTexture2CoordMaterial = *mut ::core::ffi::c_void;
149 pub type Printing3DTexture2CoordMaterialGroup = *mut ::core::ffi::c_void;
150 #[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
151 #[repr(transparent)]
152 pub struct Printing3DTextureEdgeBehavior(pub i32);
153 impl Printing3DTextureEdgeBehavior {
154 pub const None: Self = Self(0i32);
155 pub const Wrap: Self = Self(1i32);
156 pub const Mirror: Self = Self(2i32);
157 pub const Clamp: Self = Self(3i32);
158 }
159 impl ::core::marker::Copy for Printing3DTextureEdgeBehavior {}
160 impl ::core::clone::Clone for Printing3DTextureEdgeBehavior {
161 fn clone(&self) -> Self {
162 *self
163 }
164 }
165 pub type Printing3DTextureResource = *mut ::core::ffi::c_void;