1
- /* automatically generated by rust-bindgen 0.61.0 */
1
+ /* automatically generated by rust-bindgen 0.68.1 */
2
2
3
3
#[ repr( C ) ]
4
4
#[ derive( Debug , Copy , Clone ) ]
@@ -30,8 +30,7 @@ pub struct ie_blob {
30
30
_unused : [ u8 ; 0 ] ,
31
31
}
32
32
pub type ie_blob_t = ie_blob ;
33
- #[ doc = " @struct ie_version" ]
34
- #[ doc = " @brief Represents an API version information that reflects the set of supported features" ]
33
+ #[ doc = " @struct ie_version\n @brief Represents an API version information that reflects the set of supported features" ]
35
34
#[ repr( C ) ]
36
35
#[ derive( Debug , Copy , Clone ) ]
37
36
pub struct ie_version {
@@ -63,11 +62,9 @@ fn bindgen_test_layout_ie_version() {
63
62
)
64
63
) ;
65
64
}
66
- #[ doc = " @struct ie_version" ]
67
- #[ doc = " @brief Represents an API version information that reflects the set of supported features" ]
65
+ #[ doc = " @struct ie_version\n @brief Represents an API version information that reflects the set of supported features" ]
68
66
pub type ie_version_t = ie_version ;
69
- #[ doc = " @struct ie_core_version" ]
70
- #[ doc = " @brief Represents version information that describes devices and the inference engine runtime library" ]
67
+ #[ doc = " @struct ie_core_version\n @brief Represents version information that describes devices and the inference engine runtime library" ]
71
68
#[ repr( C ) ]
72
69
#[ derive( Debug , Copy , Clone ) ]
73
70
pub struct ie_core_version {
@@ -147,11 +144,9 @@ fn bindgen_test_layout_ie_core_version() {
147
144
)
148
145
) ;
149
146
}
150
- #[ doc = " @struct ie_core_version" ]
151
- #[ doc = " @brief Represents version information that describes devices and the inference engine runtime library" ]
147
+ #[ doc = " @struct ie_core_version\n @brief Represents version information that describes devices and the inference engine runtime library" ]
152
148
pub type ie_core_version_t = ie_core_version ;
153
- #[ doc = " @struct ie_core_versions" ]
154
- #[ doc = " @brief Represents all versions information that describes all devices and the inference engine runtime library" ]
149
+ #[ doc = " @struct ie_core_versions\n @brief Represents all versions information that describes all devices and the inference engine runtime library" ]
155
150
#[ repr( C ) ]
156
151
#[ derive( Debug , Copy , Clone ) ]
157
152
pub struct ie_core_versions {
@@ -195,11 +190,9 @@ fn bindgen_test_layout_ie_core_versions() {
195
190
)
196
191
) ;
197
192
}
198
- #[ doc = " @struct ie_core_versions" ]
199
- #[ doc = " @brief Represents all versions information that describes all devices and the inference engine runtime library" ]
193
+ #[ doc = " @struct ie_core_versions\n @brief Represents all versions information that describes all devices and the inference engine runtime library" ]
200
194
pub type ie_core_versions_t = ie_core_versions ;
201
- #[ doc = " @struct ie_config" ]
202
- #[ doc = " @brief Represents configuration information that describes devices" ]
195
+ #[ doc = " @struct ie_config\n @brief Represents configuration information that describes devices" ]
203
196
#[ repr( C ) ]
204
197
#[ derive( Debug , Copy , Clone ) ]
205
198
pub struct ie_config {
@@ -255,11 +248,9 @@ fn bindgen_test_layout_ie_config() {
255
248
)
256
249
) ;
257
250
}
258
- #[ doc = " @struct ie_config" ]
259
- #[ doc = " @brief Represents configuration information that describes devices" ]
251
+ #[ doc = " @struct ie_config\n @brief Represents configuration information that describes devices" ]
260
252
pub type ie_config_t = ie_config ;
261
- #[ doc = " @struct ie_param" ]
262
- #[ doc = " @brief metric and config parameters." ]
253
+ #[ doc = " @struct ie_param\n @brief metric and config parameters." ]
263
254
#[ repr( C ) ]
264
255
#[ derive( Copy , Clone ) ]
265
256
pub struct ie_param {
@@ -344,11 +335,9 @@ fn bindgen_test_layout_ie_param() {
344
335
concat!( "Alignment of " , stringify!( ie_param) )
345
336
) ;
346
337
}
347
- #[ doc = " @struct ie_param" ]
348
- #[ doc = " @brief metric and config parameters." ]
338
+ #[ doc = " @struct ie_param\n @brief metric and config parameters." ]
349
339
pub type ie_param_t = ie_param ;
350
- #[ doc = " @struct ie_param_config" ]
351
- #[ doc = " @brief Represents configuration parameter information" ]
340
+ #[ doc = " @struct ie_param_config\n @brief Represents configuration parameter information" ]
352
341
#[ repr( C ) ]
353
342
#[ derive( Debug , Copy , Clone ) ]
354
343
pub struct ie_param_config {
@@ -390,11 +379,9 @@ fn bindgen_test_layout_ie_param_config() {
390
379
)
391
380
) ;
392
381
}
393
- #[ doc = " @struct ie_param_config" ]
394
- #[ doc = " @brief Represents configuration parameter information" ]
382
+ #[ doc = " @struct ie_param_config\n @brief Represents configuration parameter information" ]
395
383
pub type ie_param_config_t = ie_param_config ;
396
- #[ doc = " @struct dimensions" ]
397
- #[ doc = " @brief Represents dimensions for input or output data" ]
384
+ #[ doc = " @struct dimensions\n @brief Represents dimensions for input or output data" ]
398
385
#[ repr( C ) ]
399
386
#[ derive( Debug , Copy , Clone ) ]
400
387
pub struct dimensions {
@@ -438,12 +425,10 @@ fn bindgen_test_layout_dimensions() {
438
425
)
439
426
) ;
440
427
}
441
- #[ doc = " @struct dimensions" ]
442
- #[ doc = " @brief Represents dimensions for input or output data" ]
428
+ #[ doc = " @struct dimensions\n @brief Represents dimensions for input or output data" ]
443
429
pub type dimensions_t = dimensions ;
444
430
#[ repr( u32 ) ]
445
- #[ doc = " @enum layout_e" ]
446
- #[ doc = " @brief Layouts that the inference engine supports" ]
431
+ #[ doc = " @enum layout_e\n @brief Layouts that the inference engine supports" ]
447
432
#[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
448
433
pub enum layout_e {
449
434
#[ doc = "!< \" ANY\" layout" ]
@@ -474,8 +459,7 @@ pub enum layout_e {
474
459
BLOCKED = 200 ,
475
460
}
476
461
#[ repr( u32 ) ]
477
- #[ doc = " @enum precision_e" ]
478
- #[ doc = " @brief Precisions that the inference engine supports" ]
462
+ #[ doc = " @enum precision_e\n @brief Precisions that the inference engine supports" ]
479
463
#[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
480
464
pub enum precision_e {
481
465
#[ doc = "< Unspecified value. Used by default" ]
@@ -515,8 +499,7 @@ pub enum precision_e {
515
499
#[ doc = "< custom precision has it's own name and size of elements" ]
516
500
CUSTOM = 80 ,
517
501
}
518
- #[ doc = " @struct tensor_desc" ]
519
- #[ doc = " @brief Represents detailed information for a tensor" ]
502
+ #[ doc = " @struct tensor_desc\n @brief Represents detailed information for a tensor" ]
520
503
#[ repr( C ) ]
521
504
#[ derive( Debug , Copy , Clone ) ]
522
505
pub struct tensor_desc {
@@ -569,12 +552,10 @@ fn bindgen_test_layout_tensor_desc() {
569
552
)
570
553
) ;
571
554
}
572
- #[ doc = " @struct tensor_desc" ]
573
- #[ doc = " @brief Represents detailed information for a tensor" ]
555
+ #[ doc = " @struct tensor_desc\n @brief Represents detailed information for a tensor" ]
574
556
pub type tensor_desc_t = tensor_desc ;
575
557
#[ repr( u32 ) ]
576
- #[ doc = " @enum colorformat_e" ]
577
- #[ doc = " @brief Extra information about input color format for preprocessing" ]
558
+ #[ doc = " @enum colorformat_e\n @brief Extra information about input color format for preprocessing" ]
578
559
#[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
579
560
pub enum colorformat_e {
580
561
#[ doc = "!< Plain blob (default), no extra color processing required" ]
@@ -593,8 +574,7 @@ pub enum colorformat_e {
593
574
I420 = 6 ,
594
575
}
595
576
#[ repr( u32 ) ]
596
- #[ doc = " @enum resize_alg_e" ]
597
- #[ doc = " @brief Represents the list of supported resize algorithms." ]
577
+ #[ doc = " @enum resize_alg_e\n @brief Represents the list of supported resize algorithms." ]
598
578
#[ derive( Debug , Copy , Clone , Hash , PartialEq , Eq ) ]
599
579
pub enum resize_alg_e {
600
580
#[ doc = "!< \" No resize\" mode" ]
@@ -618,11 +598,9 @@ pub const IEStatusCode_NOT_ALLOCATED: IEStatusCode = -10;
618
598
pub const IEStatusCode_INFER_NOT_STARTED : IEStatusCode = -11 ;
619
599
pub const IEStatusCode_NETWORK_NOT_READ : IEStatusCode = -12 ;
620
600
pub const IEStatusCode_INFER_CANCELLED : IEStatusCode = -13 ;
621
- #[ doc = " @enum IEStatusCode" ]
622
- #[ doc = " @brief This enum contains codes for all possible return values of the interface functions" ]
601
+ #[ doc = " @enum IEStatusCode\n @brief This enum contains codes for all possible return values of the interface functions" ]
623
602
pub type IEStatusCode = :: std:: os:: raw:: c_int ;
624
- #[ doc = " @struct roi_t" ]
625
- #[ doc = " @brief This structure describes roi data." ]
603
+ #[ doc = " @struct roi_t\n @brief This structure describes roi data." ]
626
604
#[ repr( C ) ]
627
605
#[ derive( Debug , Copy , Clone ) ]
628
606
pub struct roi {
@@ -687,11 +665,9 @@ fn bindgen_test_layout_roi() {
687
665
)
688
666
) ;
689
667
}
690
- #[ doc = " @struct roi_t" ]
691
- #[ doc = " @brief This structure describes roi data." ]
668
+ #[ doc = " @struct roi_t\n @brief This structure describes roi data." ]
692
669
pub type roi_t = roi ;
693
- #[ doc = " @struct input_shape" ]
694
- #[ doc = " @brief Represents shape for input data" ]
670
+ #[ doc = " @struct input_shape\n @brief Represents shape for input data" ]
695
671
#[ repr( C ) ]
696
672
#[ derive( Debug , Copy , Clone ) ]
697
673
pub struct input_shape {
@@ -733,11 +709,9 @@ fn bindgen_test_layout_input_shape() {
733
709
)
734
710
) ;
735
711
}
736
- #[ doc = " @struct input_shape" ]
737
- #[ doc = " @brief Represents shape for input data" ]
712
+ #[ doc = " @struct input_shape\n @brief Represents shape for input data" ]
738
713
pub type input_shape_t = input_shape ;
739
- #[ doc = " @struct input_shapes" ]
740
- #[ doc = " @brief Represents shapes for all input data" ]
714
+ #[ doc = " @struct input_shapes\n @brief Represents shapes for all input data" ]
741
715
#[ repr( C ) ]
742
716
#[ derive( Debug , Copy , Clone ) ]
743
717
pub struct input_shapes {
@@ -779,11 +753,9 @@ fn bindgen_test_layout_input_shapes() {
779
753
)
780
754
) ;
781
755
}
782
- #[ doc = " @struct input_shapes" ]
783
- #[ doc = " @brief Represents shapes for all input data" ]
756
+ #[ doc = " @struct input_shapes\n @brief Represents shapes for all input data" ]
784
757
pub type input_shapes_t = input_shapes ;
785
- #[ doc = " @struct ie_blob_buffer" ]
786
- #[ doc = " @brief Represents copied data from the given blob." ]
758
+ #[ doc = " @struct ie_blob_buffer\n @brief Represents copied data from the given blob." ]
787
759
#[ repr( C ) ]
788
760
#[ derive( Copy , Clone ) ]
789
761
pub struct ie_blob_buffer {
@@ -846,11 +818,9 @@ fn bindgen_test_layout_ie_blob_buffer() {
846
818
concat!( "Alignment of " , stringify!( ie_blob_buffer) )
847
819
) ;
848
820
}
849
- #[ doc = " @struct ie_blob_buffer" ]
850
- #[ doc = " @brief Represents copied data from the given blob." ]
821
+ #[ doc = " @struct ie_blob_buffer\n @brief Represents copied data from the given blob." ]
851
822
pub type ie_blob_buffer_t = ie_blob_buffer ;
852
- #[ doc = " @struct ie_complete_call_back" ]
853
- #[ doc = " @brief Completion callback definition about the function and args" ]
823
+ #[ doc = " @struct ie_complete_call_back\n @brief Completion callback definition about the function and args" ]
854
824
#[ repr( C ) ]
855
825
#[ derive( Debug , Copy , Clone ) ]
856
826
pub struct ie_complete_call_back {
@@ -894,11 +864,9 @@ fn bindgen_test_layout_ie_complete_call_back() {
894
864
)
895
865
) ;
896
866
}
897
- #[ doc = " @struct ie_complete_call_back" ]
898
- #[ doc = " @brief Completion callback definition about the function and args" ]
867
+ #[ doc = " @struct ie_complete_call_back\n @brief Completion callback definition about the function and args" ]
899
868
pub type ie_complete_call_back_t = ie_complete_call_back ;
900
- #[ doc = " @struct ie_available_devices" ]
901
- #[ doc = " @brief Represent all available devices." ]
869
+ #[ doc = " @struct ie_available_devices\n @brief Represent all available devices." ]
902
870
#[ repr( C ) ]
903
871
#[ derive( Debug , Copy , Clone ) ]
904
872
pub struct ie_available_devices {
@@ -940,6 +908,5 @@ fn bindgen_test_layout_ie_available_devices() {
940
908
)
941
909
) ;
942
910
}
943
- #[ doc = " @struct ie_available_devices" ]
944
- #[ doc = " @brief Represent all available devices." ]
911
+ #[ doc = " @struct ie_available_devices\n @brief Represent all available devices." ]
945
912
pub type ie_available_devices_t = ie_available_devices ;
0 commit comments