#[repr(C)]
pub struct MONITOR2 {
Show 23 fields pub cbSize: u32, pub pfnEnumPorts: isize, pub pfnOpenPort: isize, pub pfnOpenPortEx: isize, pub pfnStartDocPort: isize, pub pfnWritePort: isize, pub pfnReadPort: isize, pub pfnEndDocPort: isize, pub pfnClosePort: isize, pub pfnAddPort: isize, pub pfnAddPortEx: isize, pub pfnConfigurePort: isize, pub pfnDeletePort: isize, pub pfnGetPrinterDataFromPort: isize, pub pfnSetPortTimeOuts: isize, pub pfnXcvOpenPort: isize, pub pfnXcvDataPort: isize, pub pfnXcvClosePort: isize, pub pfnShutdown: isize, pub pfnSendRecvBidiDataFromPort: isize, pub pfnNotifyUsedPorts: isize, pub pfnNotifyUnusedPorts: isize, pub pfnPowerEvent: isize,
}
Expand description

Required features: "Win32_Graphics_Printing"

Fields§

§cbSize: u32§pfnEnumPorts: isize§pfnOpenPort: isize§pfnOpenPortEx: isize§pfnStartDocPort: isize§pfnWritePort: isize§pfnReadPort: isize§pfnEndDocPort: isize§pfnClosePort: isize§pfnAddPort: isize§pfnAddPortEx: isize§pfnConfigurePort: isize§pfnDeletePort: isize§pfnGetPrinterDataFromPort: isize§pfnSetPortTimeOuts: isize§pfnXcvOpenPort: isize§pfnXcvDataPort: isize§pfnXcvClosePort: isize§pfnShutdown: isize§pfnSendRecvBidiDataFromPort: isize§pfnNotifyUsedPorts: isize§pfnNotifyUnusedPorts: isize§pfnPowerEvent: isize

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.