#[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: u32pfnEnumPorts: isizepfnOpenPort: isizepfnOpenPortEx: isizepfnStartDocPort: isizepfnWritePort: isizepfnReadPort: isizepfnEndDocPort: isizepfnClosePort: isizepfnAddPort: isizepfnAddPortEx: isizepfnConfigurePort: isizepfnDeletePort: isizepfnGetPrinterDataFromPort: isizepfnSetPortTimeOuts: isizepfnXcvOpenPort: isizepfnXcvDataPort: isizepfnXcvClosePort: isizepfnShutdown: isizepfnSendRecvBidiDataFromPort: isizepfnNotifyUsedPorts: isizepfnNotifyUnusedPorts: isizepfnPowerEvent: 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.