1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type IImageScannerFormatConfiguration
= *mut ::core
::ffi
::c_void
;
3 pub type IImageScannerSourceConfiguration
= *mut ::core
::ffi
::c_void
;
4 pub type ImageScanner
= *mut ::core
::ffi
::c_void
;
5 pub type ImageScannerAutoConfiguration
= *mut ::core
::ffi
::c_void
;
6 #[doc = "*Required features: 'Devices_Scanners'*"]
8 pub struct ImageScannerAutoCroppingMode(pub i32);
9 impl ImageScannerAutoCroppingMode
{
10 pub const Disabled
: Self = Self(0i32);
11 pub const SingleRegion
: Self = Self(1i32);
12 pub const MultipleRegion
: Self = Self(2i32);
14 impl ::core
::marker
::Copy
for ImageScannerAutoCroppingMode {}
15 impl ::core
::clone
::Clone
for ImageScannerAutoCroppingMode
{
16 fn clone(&self) -> Self {
20 #[doc = "*Required features: 'Devices_Scanners'*"]
22 pub struct ImageScannerColorMode(pub i32);
23 impl ImageScannerColorMode
{
24 pub const Color
: Self = Self(0i32);
25 pub const Grayscale
: Self = Self(1i32);
26 pub const Monochrome
: Self = Self(2i32);
27 pub const AutoColor
: Self = Self(3i32);
29 impl ::core
::marker
::Copy
for ImageScannerColorMode {}
30 impl ::core
::clone
::Clone
for ImageScannerColorMode
{
31 fn clone(&self) -> Self {
35 pub type ImageScannerFeederConfiguration
= *mut ::core
::ffi
::c_void
;
36 pub type ImageScannerFlatbedConfiguration
= *mut ::core
::ffi
::c_void
;
37 #[doc = "*Required features: 'Devices_Scanners'*"]
39 pub struct ImageScannerFormat(pub i32);
40 impl ImageScannerFormat
{
41 pub const Jpeg
: Self = Self(0i32);
42 pub const Png
: Self = Self(1i32);
43 pub const DeviceIndependentBitmap
: Self = Self(2i32);
44 pub const Tiff
: Self = Self(3i32);
45 pub const Xps
: Self = Self(4i32);
46 pub const OpenXps
: Self = Self(5i32);
47 pub const Pdf
: Self = Self(6i32);
49 impl ::core
::marker
::Copy
for ImageScannerFormat {}
50 impl ::core
::clone
::Clone
for ImageScannerFormat
{
51 fn clone(&self) -> Self {
55 pub type ImageScannerPreviewResult
= *mut ::core
::ffi
::c_void
;
57 #[doc = "*Required features: 'Devices_Scanners'*"]
58 pub struct ImageScannerResolution
{
62 impl ::core
::marker
::Copy
for ImageScannerResolution {}
63 impl ::core
::clone
::Clone
for ImageScannerResolution
{
64 fn clone(&self) -> Self {
68 pub type ImageScannerScanResult
= *mut ::core
::ffi
::c_void
;
69 #[doc = "*Required features: 'Devices_Scanners'*"]
71 pub struct ImageScannerScanSource(pub i32);
72 impl ImageScannerScanSource
{
73 pub const Default
: Self = Self(0i32);
74 pub const Flatbed
: Self = Self(1i32);
75 pub const Feeder
: Self = Self(2i32);
76 pub const AutoConfigured
: Self = Self(3i32);
78 impl ::core
::marker
::Copy
for ImageScannerScanSource {}
79 impl ::core
::clone
::Clone
for ImageScannerScanSource
{
80 fn clone(&self) -> Self {