#[repr(C)]
pub struct SCANINFO {
Show 36 fields pub ADF: i32, pub TPA: i32, pub Endorser: i32, pub OpticalXResolution: i32, pub OpticalYResolution: i32, pub BedWidth: i32, pub BedHeight: i32, pub IntensityRange: RANGEVALUE, pub ContrastRange: RANGEVALUE, pub SupportedCompressionType: i32, pub SupportedDataTypes: i32, pub WidthPixels: i32, pub WidthBytes: i32, pub Lines: i32, pub DataType: i32, pub PixelBits: i32, pub Intensity: i32, pub Contrast: i32, pub Xresolution: i32, pub Yresolution: i32, pub Window: SCANWINDOW, pub DitherPattern: i32, pub Negative: i32, pub Mirror: i32, pub AutoBack: i32, pub ColorDitherPattern: i32, pub ToneMap: i32, pub Compression: i32, pub RawDataFormat: i32, pub RawPixelOrder: i32, pub bNeedDataAlignment: i32, pub DelayBetweenRead: i32, pub MaxBufferSize: i32, pub DeviceIOHandles: [HANDLE; 16], pub lReserved: [i32; 4], pub pMicroDriverContext: *mut c_void,
}
Expand description

Required features: "Win32_Devices_ImageAcquisition", "Win32_Foundation"

Fields§

§ADF: i32§TPA: i32§Endorser: i32§OpticalXResolution: i32§OpticalYResolution: i32§BedWidth: i32§BedHeight: i32§IntensityRange: RANGEVALUE§ContrastRange: RANGEVALUE§SupportedCompressionType: i32§SupportedDataTypes: i32§WidthPixels: i32§WidthBytes: i32§Lines: i32§DataType: i32§PixelBits: i32§Intensity: i32§Contrast: i32§Xresolution: i32§Yresolution: i32§Window: SCANWINDOW§DitherPattern: i32§Negative: i32§Mirror: i32§AutoBack: i32§ColorDitherPattern: i32§ToneMap: i32§Compression: i32§RawDataFormat: i32§RawPixelOrder: i32§bNeedDataAlignment: i32§DelayBetweenRead: i32§MaxBufferSize: i32§DeviceIOHandles: [HANDLE; 16]§lReserved: [i32; 4]§pMicroDriverContext: *mut c_void

Trait Implementations§

§

impl Clone for SCANINFO

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for SCANINFO

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.