windows-sys 0.27.0

Rust for Windows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[cfg(feature = "AI_MachineLearning_Preview")]
pub mod Preview;
#[link(name = "windows")]
extern "system" {}
#[repr(transparent)]
pub struct IImageFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IImageFeatureDescriptor {}
impl ::core::clone::Clone for IImageFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IImageFeatureDescriptor2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IImageFeatureDescriptor2 {}
impl ::core::clone::Clone for IImageFeatureDescriptor2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IImageFeatureValue(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IImageFeatureValue {}
impl ::core::clone::Clone for IImageFeatureValue {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IImageFeatureValueStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IImageFeatureValueStatics {}
impl ::core::clone::Clone for IImageFeatureValueStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModel(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModel {}
impl ::core::clone::Clone for ILearningModel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelBinding(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelBinding {}
impl ::core::clone::Clone for ILearningModelBinding {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelBindingFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelBindingFactory {}
impl ::core::clone::Clone for ILearningModelBindingFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelDevice(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelDevice {}
impl ::core::clone::Clone for ILearningModelDevice {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelDeviceFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelDeviceFactory {}
impl ::core::clone::Clone for ILearningModelDeviceFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelDeviceStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelDeviceStatics {}
impl ::core::clone::Clone for ILearningModelDeviceStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelEvaluationResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelEvaluationResult {}
impl ::core::clone::Clone for ILearningModelEvaluationResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelFeatureDescriptor {}
impl ::core::clone::Clone for ILearningModelFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelFeatureValue(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelFeatureValue {}
impl ::core::clone::Clone for ILearningModelFeatureValue {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelOperatorProvider(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelOperatorProvider {}
impl ::core::clone::Clone for ILearningModelOperatorProvider {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSession(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSession {}
impl ::core::clone::Clone for ILearningModelSession {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSessionFactory(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSessionFactory {}
impl ::core::clone::Clone for ILearningModelSessionFactory {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSessionFactory2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSessionFactory2 {}
impl ::core::clone::Clone for ILearningModelSessionFactory2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSessionOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSessionOptions {}
impl ::core::clone::Clone for ILearningModelSessionOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSessionOptions2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSessionOptions2 {}
impl ::core::clone::Clone for ILearningModelSessionOptions2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelSessionOptions3(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelSessionOptions3 {}
impl ::core::clone::Clone for ILearningModelSessionOptions3 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ILearningModelStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ILearningModelStatics {}
impl ::core::clone::Clone for ILearningModelStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct IMapFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for IMapFeatureDescriptor {}
impl ::core::clone::Clone for IMapFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ISequenceFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ISequenceFeatureDescriptor {}
impl ::core::clone::Clone for ISequenceFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensor {}
impl ::core::clone::Clone for ITensor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorBoolean(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorBoolean {}
impl ::core::clone::Clone for ITensorBoolean {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorBooleanStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorBooleanStatics {}
impl ::core::clone::Clone for ITensorBooleanStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorBooleanStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorBooleanStatics2 {}
impl ::core::clone::Clone for ITensorBooleanStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorDouble(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorDouble {}
impl ::core::clone::Clone for ITensorDouble {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorDoubleStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorDoubleStatics {}
impl ::core::clone::Clone for ITensorDoubleStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorDoubleStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorDoubleStatics2 {}
impl ::core::clone::Clone for ITensorDoubleStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFeatureDescriptor {}
impl ::core::clone::Clone for ITensorFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloat(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloat {}
impl ::core::clone::Clone for ITensorFloat {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloat16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloat16Bit {}
impl ::core::clone::Clone for ITensorFloat16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloat16BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloat16BitStatics {}
impl ::core::clone::Clone for ITensorFloat16BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloat16BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloat16BitStatics2 {}
impl ::core::clone::Clone for ITensorFloat16BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloatStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloatStatics {}
impl ::core::clone::Clone for ITensorFloatStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorFloatStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorFloatStatics2 {}
impl ::core::clone::Clone for ITensorFloatStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt16Bit {}
impl ::core::clone::Clone for ITensorInt16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt16BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt16BitStatics {}
impl ::core::clone::Clone for ITensorInt16BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt16BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt16BitStatics2 {}
impl ::core::clone::Clone for ITensorInt16BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt32Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt32Bit {}
impl ::core::clone::Clone for ITensorInt32Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt32BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt32BitStatics {}
impl ::core::clone::Clone for ITensorInt32BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt32BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt32BitStatics2 {}
impl ::core::clone::Clone for ITensorInt32BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt64Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt64Bit {}
impl ::core::clone::Clone for ITensorInt64Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt64BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt64BitStatics {}
impl ::core::clone::Clone for ITensorInt64BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt64BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt64BitStatics2 {}
impl ::core::clone::Clone for ITensorInt64BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt8Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt8Bit {}
impl ::core::clone::Clone for ITensorInt8Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt8BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt8BitStatics {}
impl ::core::clone::Clone for ITensorInt8BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorInt8BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorInt8BitStatics2 {}
impl ::core::clone::Clone for ITensorInt8BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorString(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorString {}
impl ::core::clone::Clone for ITensorString {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorStringStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorStringStatics {}
impl ::core::clone::Clone for ITensorStringStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorStringStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorStringStatics2 {}
impl ::core::clone::Clone for ITensorStringStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt16Bit {}
impl ::core::clone::Clone for ITensorUInt16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt16BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt16BitStatics {}
impl ::core::clone::Clone for ITensorUInt16BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt16BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt16BitStatics2 {}
impl ::core::clone::Clone for ITensorUInt16BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt32Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt32Bit {}
impl ::core::clone::Clone for ITensorUInt32Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt32BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt32BitStatics {}
impl ::core::clone::Clone for ITensorUInt32BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt32BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt32BitStatics2 {}
impl ::core::clone::Clone for ITensorUInt32BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt64Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt64Bit {}
impl ::core::clone::Clone for ITensorUInt64Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt64BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt64BitStatics {}
impl ::core::clone::Clone for ITensorUInt64BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt64BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt64BitStatics2 {}
impl ::core::clone::Clone for ITensorUInt64BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt8Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt8Bit {}
impl ::core::clone::Clone for ITensorUInt8Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt8BitStatics(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt8BitStatics {}
impl ::core::clone::Clone for ITensorUInt8BitStatics {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ITensorUInt8BitStatics2(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ITensorUInt8BitStatics2 {}
impl ::core::clone::Clone for ITensorUInt8BitStatics2 {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ImageFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ImageFeatureDescriptor {}
impl ::core::clone::Clone for ImageFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct ImageFeatureValue(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for ImageFeatureValue {}
impl ::core::clone::Clone for ImageFeatureValue {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModel(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModel {}
impl ::core::clone::Clone for LearningModel {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelBinding(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModelBinding {}
impl ::core::clone::Clone for LearningModelBinding {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelDevice(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModelDevice {}
impl ::core::clone::Clone for LearningModelDevice {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelDeviceKind(pub i32);
impl LearningModelDeviceKind {
    pub const Default: Self = Self(0i32);
    pub const Cpu: Self = Self(1i32);
    pub const DirectX: Self = Self(2i32);
    pub const DirectXHighPerformance: Self = Self(3i32);
    pub const DirectXMinPower: Self = Self(4i32);
}
impl ::core::marker::Copy for LearningModelDeviceKind {}
impl ::core::clone::Clone for LearningModelDeviceKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelEvaluationResult(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModelEvaluationResult {}
impl ::core::clone::Clone for LearningModelEvaluationResult {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelFeatureKind(pub i32);
impl LearningModelFeatureKind {
    pub const Tensor: Self = Self(0i32);
    pub const Sequence: Self = Self(1i32);
    pub const Map: Self = Self(2i32);
    pub const Image: Self = Self(3i32);
}
impl ::core::marker::Copy for LearningModelFeatureKind {}
impl ::core::clone::Clone for LearningModelFeatureKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelPixelRange(pub i32);
impl LearningModelPixelRange {
    pub const ZeroTo255: Self = Self(0i32);
    pub const ZeroToOne: Self = Self(1i32);
    pub const MinusOneToOne: Self = Self(2i32);
}
impl ::core::marker::Copy for LearningModelPixelRange {}
impl ::core::clone::Clone for LearningModelPixelRange {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelSession(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModelSession {}
impl ::core::clone::Clone for LearningModelSession {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct LearningModelSessionOptions(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for LearningModelSessionOptions {}
impl ::core::clone::Clone for LearningModelSessionOptions {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct MapFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for MapFeatureDescriptor {}
impl ::core::clone::Clone for MapFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct SequenceFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for SequenceFeatureDescriptor {}
impl ::core::clone::Clone for SequenceFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorBoolean(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorBoolean {}
impl ::core::clone::Clone for TensorBoolean {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorDouble(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorDouble {}
impl ::core::clone::Clone for TensorDouble {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorFeatureDescriptor(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorFeatureDescriptor {}
impl ::core::clone::Clone for TensorFeatureDescriptor {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorFloat(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorFloat {}
impl ::core::clone::Clone for TensorFloat {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorFloat16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorFloat16Bit {}
impl ::core::clone::Clone for TensorFloat16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorInt16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorInt16Bit {}
impl ::core::clone::Clone for TensorInt16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorInt32Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorInt32Bit {}
impl ::core::clone::Clone for TensorInt32Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorInt64Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorInt64Bit {}
impl ::core::clone::Clone for TensorInt64Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorInt8Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorInt8Bit {}
impl ::core::clone::Clone for TensorInt8Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorKind(pub i32);
impl TensorKind {
    pub const Undefined: Self = Self(0i32);
    pub const Float: Self = Self(1i32);
    pub const UInt8: Self = Self(2i32);
    pub const Int8: Self = Self(3i32);
    pub const UInt16: Self = Self(4i32);
    pub const Int16: Self = Self(5i32);
    pub const Int32: Self = Self(6i32);
    pub const Int64: Self = Self(7i32);
    pub const String: Self = Self(8i32);
    pub const Boolean: Self = Self(9i32);
    pub const Float16: Self = Self(10i32);
    pub const Double: Self = Self(11i32);
    pub const UInt32: Self = Self(12i32);
    pub const UInt64: Self = Self(13i32);
    pub const Complex64: Self = Self(14i32);
    pub const Complex128: Self = Self(15i32);
}
impl ::core::marker::Copy for TensorKind {}
impl ::core::clone::Clone for TensorKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorString(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorString {}
impl ::core::clone::Clone for TensorString {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorUInt16Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorUInt16Bit {}
impl ::core::clone::Clone for TensorUInt16Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorUInt32Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorUInt32Bit {}
impl ::core::clone::Clone for TensorUInt32Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorUInt64Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorUInt64Bit {}
impl ::core::clone::Clone for TensorUInt64Bit {
    fn clone(&self) -> Self {
        *self
    }
}
#[repr(transparent)]
pub struct TensorUInt8Bit(pub *mut ::core::ffi::c_void);
impl ::core::marker::Copy for TensorUInt8Bit {}
impl ::core::clone::Clone for TensorUInt8Bit {
    fn clone(&self) -> Self {
        *self
    }
}