#[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,
}

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 Debug for SCANINFO

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for SCANINFO

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl PartialEq for SCANINFO

§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for SCANINFO

§

impl Eq for SCANINFO

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.