]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Graphics/Printing3D/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Graphics / Printing3D / mod.rs
CommitLineData
5e7ed085
FG
1pub type Print3DManager = *mut ::core::ffi::c_void;
2pub type Print3DTask = *mut ::core::ffi::c_void;
3pub type Print3DTaskCompletedEventArgs = *mut ::core::ffi::c_void;
04454e1e 4#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
5#[repr(transparent)]
6pub struct Print3DTaskCompletion(pub i32);
7impl 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}
14impl ::core::marker::Copy for Print3DTaskCompletion {}
15impl ::core::clone::Clone for Print3DTaskCompletion {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
04454e1e 20#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
21#[repr(transparent)]
22pub struct Print3DTaskDetail(pub i32);
23impl 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}
32impl ::core::marker::Copy for Print3DTaskDetail {}
33impl ::core::clone::Clone for Print3DTaskDetail {
34 fn clone(&self) -> Self {
35 *self
36 }
37}
38pub type Print3DTaskRequest = *mut ::core::ffi::c_void;
39pub type Print3DTaskRequestedEventArgs = *mut ::core::ffi::c_void;
40pub type Print3DTaskSourceChangedEventArgs = *mut ::core::ffi::c_void;
41pub type Print3DTaskSourceRequestedArgs = *mut ::core::ffi::c_void;
42pub type Print3DTaskSourceRequestedHandler = *mut ::core::ffi::c_void;
43pub type Printing3D3MFPackage = *mut ::core::ffi::c_void;
44pub type Printing3DBaseMaterial = *mut ::core::ffi::c_void;
45pub type Printing3DBaseMaterialGroup = *mut ::core::ffi::c_void;
46#[repr(C)]
04454e1e 47#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
48pub struct Printing3DBufferDescription {
49 pub Format: Printing3DBufferFormat,
50 pub Stride: u32,
51}
52impl ::core::marker::Copy for Printing3DBufferDescription {}
53impl ::core::clone::Clone for Printing3DBufferDescription {
54 fn clone(&self) -> Self {
55 *self
56 }
57}
04454e1e 58#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
59#[repr(transparent)]
60pub struct Printing3DBufferFormat(pub i32);
61impl 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}
70impl ::core::marker::Copy for Printing3DBufferFormat {}
71impl ::core::clone::Clone for Printing3DBufferFormat {
72 fn clone(&self) -> Self {
73 *self
74 }
75}
76pub type Printing3DColorMaterial = *mut ::core::ffi::c_void;
77pub type Printing3DColorMaterialGroup = *mut ::core::ffi::c_void;
78pub type Printing3DComponent = *mut ::core::ffi::c_void;
79pub type Printing3DComponentWithMatrix = *mut ::core::ffi::c_void;
80pub type Printing3DCompositeMaterial = *mut ::core::ffi::c_void;
81pub type Printing3DCompositeMaterialGroup = *mut ::core::ffi::c_void;
82pub type Printing3DFaceReductionOptions = *mut ::core::ffi::c_void;
83pub type Printing3DMaterial = *mut ::core::ffi::c_void;
84pub type Printing3DMesh = *mut ::core::ffi::c_void;
04454e1e 85#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
86#[repr(transparent)]
87pub struct Printing3DMeshVerificationMode(pub i32);
88impl Printing3DMeshVerificationMode {
89 pub const FindFirstError: Self = Self(0i32);
90 pub const FindAllErrors: Self = Self(1i32);
91}
92impl ::core::marker::Copy for Printing3DMeshVerificationMode {}
93impl ::core::clone::Clone for Printing3DMeshVerificationMode {
94 fn clone(&self) -> Self {
95 *self
96 }
97}
98pub type Printing3DMeshVerificationResult = *mut ::core::ffi::c_void;
99pub type Printing3DModel = *mut ::core::ffi::c_void;
100pub type Printing3DModelTexture = *mut ::core::ffi::c_void;
04454e1e 101#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
102#[repr(transparent)]
103pub struct Printing3DModelUnit(pub i32);
104impl 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}
112impl ::core::marker::Copy for Printing3DModelUnit {}
113impl ::core::clone::Clone for Printing3DModelUnit {
114 fn clone(&self) -> Self {
115 *self
116 }
117}
118pub type Printing3DMultiplePropertyMaterial = *mut ::core::ffi::c_void;
119pub type Printing3DMultiplePropertyMaterialGroup = *mut ::core::ffi::c_void;
04454e1e 120#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
121#[repr(transparent)]
122pub struct Printing3DObjectType(pub i32);
123impl Printing3DObjectType {
124 pub const Model: Self = Self(0i32);
125 pub const Support: Self = Self(1i32);
126 pub const Others: Self = Self(2i32);
127}
128impl ::core::marker::Copy for Printing3DObjectType {}
129impl ::core::clone::Clone for Printing3DObjectType {
130 fn clone(&self) -> Self {
131 *self
132 }
133}
04454e1e 134#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
135#[repr(transparent)]
136pub struct Printing3DPackageCompression(pub i32);
137impl Printing3DPackageCompression {
138 pub const Low: Self = Self(0i32);
139 pub const Medium: Self = Self(1i32);
140 pub const High: Self = Self(2i32);
141}
142impl ::core::marker::Copy for Printing3DPackageCompression {}
143impl ::core::clone::Clone for Printing3DPackageCompression {
144 fn clone(&self) -> Self {
145 *self
146 }
147}
148pub type Printing3DTexture2CoordMaterial = *mut ::core::ffi::c_void;
149pub type Printing3DTexture2CoordMaterialGroup = *mut ::core::ffi::c_void;
04454e1e 150#[doc = "*Required features: `\"Graphics_Printing3D\"`*"]
5e7ed085
FG
151#[repr(transparent)]
152pub struct Printing3DTextureEdgeBehavior(pub i32);
153impl 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}
159impl ::core::marker::Copy for Printing3DTextureEdgeBehavior {}
160impl ::core::clone::Clone for Printing3DTextureEdgeBehavior {
161 fn clone(&self) -> Self {
162 *self
163 }
164}
165pub type Printing3DTextureResource = *mut ::core::ffi::c_void;