]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "UI_Xaml_Media_Animation")] |
2 | pub mod Animation; | |
3 | #[cfg(feature = "UI_Xaml_Media_Imaging")] | |
4 | pub mod Imaging; | |
5 | #[cfg(feature = "UI_Xaml_Media_Media3D")] | |
6 | pub mod Media3D; | |
04454e1e | 7 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
8 | #[repr(transparent)] |
9 | pub struct AcrylicBackgroundSource(pub i32); | |
10 | impl AcrylicBackgroundSource { | |
11 | pub const HostBackdrop: Self = Self(0i32); | |
12 | pub const Backdrop: Self = Self(1i32); | |
13 | } | |
14 | impl ::core::marker::Copy for AcrylicBackgroundSource {} | |
15 | impl ::core::clone::Clone for AcrylicBackgroundSource { | |
16 | fn clone(&self) -> Self { | |
17 | *self | |
18 | } | |
19 | } | |
20 | pub type AcrylicBrush = *mut ::core::ffi::c_void; | |
04454e1e | 21 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
22 | #[repr(transparent)] |
23 | pub struct AlignmentX(pub i32); | |
24 | impl AlignmentX { | |
25 | pub const Left: Self = Self(0i32); | |
26 | pub const Center: Self = Self(1i32); | |
27 | pub const Right: Self = Self(2i32); | |
28 | } | |
29 | impl ::core::marker::Copy for AlignmentX {} | |
30 | impl ::core::clone::Clone for AlignmentX { | |
31 | fn clone(&self) -> Self { | |
32 | *self | |
33 | } | |
34 | } | |
04454e1e | 35 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
36 | #[repr(transparent)] |
37 | pub struct AlignmentY(pub i32); | |
38 | impl AlignmentY { | |
39 | pub const Top: Self = Self(0i32); | |
40 | pub const Center: Self = Self(1i32); | |
41 | pub const Bottom: Self = Self(2i32); | |
42 | } | |
43 | impl ::core::marker::Copy for AlignmentY {} | |
44 | impl ::core::clone::Clone for AlignmentY { | |
45 | fn clone(&self) -> Self { | |
46 | *self | |
47 | } | |
48 | } | |
49 | pub type ArcSegment = *mut ::core::ffi::c_void; | |
04454e1e | 50 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
51 | #[repr(transparent)] |
52 | pub struct AudioCategory(pub i32); | |
53 | impl AudioCategory { | |
54 | pub const Other: Self = Self(0i32); | |
55 | pub const ForegroundOnlyMedia: Self = Self(1i32); | |
56 | pub const BackgroundCapableMedia: Self = Self(2i32); | |
57 | pub const Communications: Self = Self(3i32); | |
58 | pub const Alerts: Self = Self(4i32); | |
59 | pub const SoundEffects: Self = Self(5i32); | |
60 | pub const GameEffects: Self = Self(6i32); | |
61 | pub const GameMedia: Self = Self(7i32); | |
62 | pub const GameChat: Self = Self(8i32); | |
63 | pub const Speech: Self = Self(9i32); | |
64 | pub const Movie: Self = Self(10i32); | |
65 | pub const Media: Self = Self(11i32); | |
66 | } | |
67 | impl ::core::marker::Copy for AudioCategory {} | |
68 | impl ::core::clone::Clone for AudioCategory { | |
69 | fn clone(&self) -> Self { | |
70 | *self | |
71 | } | |
72 | } | |
04454e1e | 73 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
74 | #[repr(transparent)] |
75 | pub struct AudioDeviceType(pub i32); | |
76 | impl AudioDeviceType { | |
77 | pub const Console: Self = Self(0i32); | |
78 | pub const Multimedia: Self = Self(1i32); | |
79 | pub const Communications: Self = Self(2i32); | |
80 | } | |
81 | impl ::core::marker::Copy for AudioDeviceType {} | |
82 | impl ::core::clone::Clone for AudioDeviceType { | |
83 | fn clone(&self) -> Self { | |
84 | *self | |
85 | } | |
86 | } | |
87 | pub type BezierSegment = *mut ::core::ffi::c_void; | |
88 | pub type BitmapCache = *mut ::core::ffi::c_void; | |
89 | pub type Brush = *mut ::core::ffi::c_void; | |
90 | pub type BrushCollection = *mut ::core::ffi::c_void; | |
04454e1e | 91 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
92 | #[repr(transparent)] |
93 | pub struct BrushMappingMode(pub i32); | |
94 | impl BrushMappingMode { | |
95 | pub const Absolute: Self = Self(0i32); | |
96 | pub const RelativeToBoundingBox: Self = Self(1i32); | |
97 | } | |
98 | impl ::core::marker::Copy for BrushMappingMode {} | |
99 | impl ::core::clone::Clone for BrushMappingMode { | |
100 | fn clone(&self) -> Self { | |
101 | *self | |
102 | } | |
103 | } | |
104 | pub type CacheMode = *mut ::core::ffi::c_void; | |
04454e1e | 105 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
106 | #[repr(transparent)] |
107 | pub struct ColorInterpolationMode(pub i32); | |
108 | impl ColorInterpolationMode { | |
109 | pub const ScRgbLinearInterpolation: Self = Self(0i32); | |
110 | pub const SRgbLinearInterpolation: Self = Self(1i32); | |
111 | } | |
112 | impl ::core::marker::Copy for ColorInterpolationMode {} | |
113 | impl ::core::clone::Clone for ColorInterpolationMode { | |
114 | fn clone(&self) -> Self { | |
115 | *self | |
116 | } | |
117 | } | |
118 | pub type CompositeTransform = *mut ::core::ffi::c_void; | |
119 | pub type CompositionTarget = *mut ::core::ffi::c_void; | |
120 | pub type DoubleCollection = *mut ::core::ffi::c_void; | |
04454e1e | 121 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
122 | #[repr(transparent)] |
123 | pub struct ElementCompositeMode(pub i32); | |
124 | impl ElementCompositeMode { | |
125 | pub const Inherit: Self = Self(0i32); | |
126 | pub const SourceOver: Self = Self(1i32); | |
127 | pub const MinBlend: Self = Self(2i32); | |
128 | } | |
129 | impl ::core::marker::Copy for ElementCompositeMode {} | |
130 | impl ::core::clone::Clone for ElementCompositeMode { | |
131 | fn clone(&self) -> Self { | |
132 | *self | |
133 | } | |
134 | } | |
135 | pub type EllipseGeometry = *mut ::core::ffi::c_void; | |
04454e1e | 136 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
137 | #[repr(transparent)] |
138 | pub struct FastPlayFallbackBehaviour(pub i32); | |
139 | impl FastPlayFallbackBehaviour { | |
140 | pub const Skip: Self = Self(0i32); | |
141 | pub const Hide: Self = Self(1i32); | |
142 | pub const Disable: Self = Self(2i32); | |
143 | } | |
144 | impl ::core::marker::Copy for FastPlayFallbackBehaviour {} | |
145 | impl ::core::clone::Clone for FastPlayFallbackBehaviour { | |
146 | fn clone(&self) -> Self { | |
147 | *self | |
148 | } | |
149 | } | |
04454e1e | 150 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
151 | #[repr(transparent)] |
152 | pub struct FillRule(pub i32); | |
153 | impl FillRule { | |
154 | pub const EvenOdd: Self = Self(0i32); | |
155 | pub const Nonzero: Self = Self(1i32); | |
156 | } | |
157 | impl ::core::marker::Copy for FillRule {} | |
158 | impl ::core::clone::Clone for FillRule { | |
159 | fn clone(&self) -> Self { | |
160 | *self | |
161 | } | |
162 | } | |
163 | pub type FontFamily = *mut ::core::ffi::c_void; | |
164 | pub type GeneralTransform = *mut ::core::ffi::c_void; | |
165 | pub type Geometry = *mut ::core::ffi::c_void; | |
166 | pub type GeometryCollection = *mut ::core::ffi::c_void; | |
167 | pub type GeometryGroup = *mut ::core::ffi::c_void; | |
168 | pub type GradientBrush = *mut ::core::ffi::c_void; | |
04454e1e | 169 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
170 | #[repr(transparent)] |
171 | pub struct GradientSpreadMethod(pub i32); | |
172 | impl GradientSpreadMethod { | |
173 | pub const Pad: Self = Self(0i32); | |
174 | pub const Reflect: Self = Self(1i32); | |
175 | pub const Repeat: Self = Self(2i32); | |
176 | } | |
177 | impl ::core::marker::Copy for GradientSpreadMethod {} | |
178 | impl ::core::clone::Clone for GradientSpreadMethod { | |
179 | fn clone(&self) -> Self { | |
180 | *self | |
181 | } | |
182 | } | |
183 | pub type GradientStop = *mut ::core::ffi::c_void; | |
184 | pub type GradientStopCollection = *mut ::core::ffi::c_void; | |
185 | pub type ImageBrush = *mut ::core::ffi::c_void; | |
186 | pub type ImageSource = *mut ::core::ffi::c_void; | |
187 | pub type LineGeometry = *mut ::core::ffi::c_void; | |
188 | pub type LineSegment = *mut ::core::ffi::c_void; | |
189 | pub type LinearGradientBrush = *mut ::core::ffi::c_void; | |
190 | pub type LoadedImageSourceLoadCompletedEventArgs = *mut ::core::ffi::c_void; | |
04454e1e | 191 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
192 | #[repr(transparent)] |
193 | pub struct LoadedImageSourceLoadStatus(pub i32); | |
194 | impl LoadedImageSourceLoadStatus { | |
195 | pub const Success: Self = Self(0i32); | |
196 | pub const NetworkError: Self = Self(1i32); | |
197 | pub const InvalidFormat: Self = Self(2i32); | |
198 | pub const Other: Self = Self(3i32); | |
199 | } | |
200 | impl ::core::marker::Copy for LoadedImageSourceLoadStatus {} | |
201 | impl ::core::clone::Clone for LoadedImageSourceLoadStatus { | |
202 | fn clone(&self) -> Self { | |
203 | *self | |
204 | } | |
205 | } | |
206 | pub type LoadedImageSurface = *mut ::core::ffi::c_void; | |
207 | #[repr(C)] | |
04454e1e | 208 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
209 | pub struct Matrix { |
210 | pub M11: f64, | |
211 | pub M12: f64, | |
212 | pub M21: f64, | |
213 | pub M22: f64, | |
214 | pub OffsetX: f64, | |
215 | pub OffsetY: f64, | |
216 | } | |
217 | impl ::core::marker::Copy for Matrix {} | |
218 | impl ::core::clone::Clone for Matrix { | |
219 | fn clone(&self) -> Self { | |
220 | *self | |
221 | } | |
222 | } | |
223 | pub type Matrix3DProjection = *mut ::core::ffi::c_void; | |
224 | pub type MatrixHelper = *mut ::core::ffi::c_void; | |
225 | pub type MatrixTransform = *mut ::core::ffi::c_void; | |
04454e1e | 226 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
227 | #[repr(transparent)] |
228 | pub struct MediaCanPlayResponse(pub i32); | |
229 | impl MediaCanPlayResponse { | |
230 | pub const NotSupported: Self = Self(0i32); | |
231 | pub const Maybe: Self = Self(1i32); | |
232 | pub const Probably: Self = Self(2i32); | |
233 | } | |
234 | impl ::core::marker::Copy for MediaCanPlayResponse {} | |
235 | impl ::core::clone::Clone for MediaCanPlayResponse { | |
236 | fn clone(&self) -> Self { | |
237 | *self | |
238 | } | |
239 | } | |
04454e1e | 240 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
241 | #[repr(transparent)] |
242 | pub struct MediaElementState(pub i32); | |
243 | impl MediaElementState { | |
244 | pub const Closed: Self = Self(0i32); | |
245 | pub const Opening: Self = Self(1i32); | |
246 | pub const Buffering: Self = Self(2i32); | |
247 | pub const Playing: Self = Self(3i32); | |
248 | pub const Paused: Self = Self(4i32); | |
249 | pub const Stopped: Self = Self(5i32); | |
250 | } | |
251 | impl ::core::marker::Copy for MediaElementState {} | |
252 | impl ::core::clone::Clone for MediaElementState { | |
253 | fn clone(&self) -> Self { | |
254 | *self | |
255 | } | |
256 | } | |
257 | pub type MediaTransportControlsThumbnailRequestedEventArgs = *mut ::core::ffi::c_void; | |
258 | pub type PartialMediaFailureDetectedEventArgs = *mut ::core::ffi::c_void; | |
259 | pub type PathFigure = *mut ::core::ffi::c_void; | |
260 | pub type PathFigureCollection = *mut ::core::ffi::c_void; | |
261 | pub type PathGeometry = *mut ::core::ffi::c_void; | |
262 | pub type PathSegment = *mut ::core::ffi::c_void; | |
263 | pub type PathSegmentCollection = *mut ::core::ffi::c_void; | |
04454e1e | 264 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
265 | #[repr(transparent)] |
266 | pub struct PenLineCap(pub i32); | |
267 | impl PenLineCap { | |
268 | pub const Flat: Self = Self(0i32); | |
269 | pub const Square: Self = Self(1i32); | |
270 | pub const Round: Self = Self(2i32); | |
271 | pub const Triangle: Self = Self(3i32); | |
272 | } | |
273 | impl ::core::marker::Copy for PenLineCap {} | |
274 | impl ::core::clone::Clone for PenLineCap { | |
275 | fn clone(&self) -> Self { | |
276 | *self | |
277 | } | |
278 | } | |
04454e1e | 279 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
280 | #[repr(transparent)] |
281 | pub struct PenLineJoin(pub i32); | |
282 | impl PenLineJoin { | |
283 | pub const Miter: Self = Self(0i32); | |
284 | pub const Bevel: Self = Self(1i32); | |
285 | pub const Round: Self = Self(2i32); | |
286 | } | |
287 | impl ::core::marker::Copy for PenLineJoin {} | |
288 | impl ::core::clone::Clone for PenLineJoin { | |
289 | fn clone(&self) -> Self { | |
290 | *self | |
291 | } | |
292 | } | |
293 | pub type PlaneProjection = *mut ::core::ffi::c_void; | |
294 | pub type PointCollection = *mut ::core::ffi::c_void; | |
295 | pub type PolyBezierSegment = *mut ::core::ffi::c_void; | |
296 | pub type PolyLineSegment = *mut ::core::ffi::c_void; | |
297 | pub type PolyQuadraticBezierSegment = *mut ::core::ffi::c_void; | |
298 | pub type Projection = *mut ::core::ffi::c_void; | |
299 | pub type QuadraticBezierSegment = *mut ::core::ffi::c_void; | |
300 | pub type RateChangedRoutedEventArgs = *mut ::core::ffi::c_void; | |
301 | pub type RateChangedRoutedEventHandler = *mut ::core::ffi::c_void; | |
302 | pub type RectangleGeometry = *mut ::core::ffi::c_void; | |
303 | pub type RenderedEventArgs = *mut ::core::ffi::c_void; | |
304 | pub type RenderingEventArgs = *mut ::core::ffi::c_void; | |
305 | pub type RevealBackgroundBrush = *mut ::core::ffi::c_void; | |
306 | pub type RevealBorderBrush = *mut ::core::ffi::c_void; | |
307 | pub type RevealBrush = *mut ::core::ffi::c_void; | |
04454e1e | 308 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
309 | #[repr(transparent)] |
310 | pub struct RevealBrushState(pub i32); | |
311 | impl RevealBrushState { | |
312 | pub const Normal: Self = Self(0i32); | |
313 | pub const PointerOver: Self = Self(1i32); | |
314 | pub const Pressed: Self = Self(2i32); | |
315 | } | |
316 | impl ::core::marker::Copy for RevealBrushState {} | |
317 | impl ::core::clone::Clone for RevealBrushState { | |
318 | fn clone(&self) -> Self { | |
319 | *self | |
320 | } | |
321 | } | |
322 | pub type RotateTransform = *mut ::core::ffi::c_void; | |
323 | pub type ScaleTransform = *mut ::core::ffi::c_void; | |
324 | pub type Shadow = *mut ::core::ffi::c_void; | |
325 | pub type SkewTransform = *mut ::core::ffi::c_void; | |
326 | pub type SolidColorBrush = *mut ::core::ffi::c_void; | |
04454e1e | 327 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
328 | #[repr(transparent)] |
329 | pub struct Stereo3DVideoPackingMode(pub i32); | |
330 | impl Stereo3DVideoPackingMode { | |
331 | pub const None: Self = Self(0i32); | |
332 | pub const SideBySide: Self = Self(1i32); | |
333 | pub const TopBottom: Self = Self(2i32); | |
334 | } | |
335 | impl ::core::marker::Copy for Stereo3DVideoPackingMode {} | |
336 | impl ::core::clone::Clone for Stereo3DVideoPackingMode { | |
337 | fn clone(&self) -> Self { | |
338 | *self | |
339 | } | |
340 | } | |
04454e1e | 341 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
342 | #[repr(transparent)] |
343 | pub struct Stereo3DVideoRenderMode(pub i32); | |
344 | impl Stereo3DVideoRenderMode { | |
345 | pub const Mono: Self = Self(0i32); | |
346 | pub const Stereo: Self = Self(1i32); | |
347 | } | |
348 | impl ::core::marker::Copy for Stereo3DVideoRenderMode {} | |
349 | impl ::core::clone::Clone for Stereo3DVideoRenderMode { | |
350 | fn clone(&self) -> Self { | |
351 | *self | |
352 | } | |
353 | } | |
04454e1e | 354 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
355 | #[repr(transparent)] |
356 | pub struct Stretch(pub i32); | |
357 | impl Stretch { | |
358 | pub const None: Self = Self(0i32); | |
359 | pub const Fill: Self = Self(1i32); | |
360 | pub const Uniform: Self = Self(2i32); | |
361 | pub const UniformToFill: Self = Self(3i32); | |
362 | } | |
363 | impl ::core::marker::Copy for Stretch {} | |
364 | impl ::core::clone::Clone for Stretch { | |
365 | fn clone(&self) -> Self { | |
366 | *self | |
367 | } | |
368 | } | |
04454e1e | 369 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
370 | #[repr(transparent)] |
371 | pub struct StyleSimulations(pub i32); | |
372 | impl StyleSimulations { | |
373 | pub const None: Self = Self(0i32); | |
374 | pub const BoldSimulation: Self = Self(1i32); | |
375 | pub const ItalicSimulation: Self = Self(2i32); | |
376 | pub const BoldItalicSimulation: Self = Self(3i32); | |
377 | } | |
378 | impl ::core::marker::Copy for StyleSimulations {} | |
379 | impl ::core::clone::Clone for StyleSimulations { | |
380 | fn clone(&self) -> Self { | |
381 | *self | |
382 | } | |
383 | } | |
04454e1e | 384 | #[doc = "*Required features: `\"UI_Xaml_Media\"`*"] |
5e7ed085 FG |
385 | #[repr(transparent)] |
386 | pub struct SweepDirection(pub i32); | |
387 | impl SweepDirection { | |
388 | pub const Counterclockwise: Self = Self(0i32); | |
389 | pub const Clockwise: Self = Self(1i32); | |
390 | } | |
391 | impl ::core::marker::Copy for SweepDirection {} | |
392 | impl ::core::clone::Clone for SweepDirection { | |
393 | fn clone(&self) -> Self { | |
394 | *self | |
395 | } | |
396 | } | |
397 | pub type ThemeShadow = *mut ::core::ffi::c_void; | |
398 | pub type TileBrush = *mut ::core::ffi::c_void; | |
399 | pub type TimelineMarker = *mut ::core::ffi::c_void; | |
400 | pub type TimelineMarkerCollection = *mut ::core::ffi::c_void; | |
401 | pub type TimelineMarkerRoutedEventArgs = *mut ::core::ffi::c_void; | |
402 | pub type TimelineMarkerRoutedEventHandler = *mut ::core::ffi::c_void; | |
403 | pub type Transform = *mut ::core::ffi::c_void; | |
404 | pub type TransformCollection = *mut ::core::ffi::c_void; | |
405 | pub type TransformGroup = *mut ::core::ffi::c_void; | |
406 | pub type TranslateTransform = *mut ::core::ffi::c_void; | |
407 | pub type VisualTreeHelper = *mut ::core::ffi::c_void; | |
408 | pub type XamlCompositionBrushBase = *mut ::core::ffi::c_void; | |
409 | pub type XamlLight = *mut ::core::ffi::c_void; |