Struct winapi::um::wingdi::DEVMODEA

source ·
#[repr(C)]
pub struct DEVMODEA {
Show 27 fields pub dmDeviceName: [CHAR; 32], pub dmSpecVersion: WORD, pub dmDriverVersion: WORD, pub dmSize: WORD, pub dmDriverExtra: WORD, pub dmFields: DWORD, pub u1: DEVMODE_u1, pub dmColor: c_short, pub dmDuplex: c_short, pub dmYResolution: c_short, pub dmTTOption: c_short, pub dmCollate: c_short, pub dmFormName: [CHAR; 32], pub dmLogPixels: WORD, pub dmBitsPerPel: DWORD, pub dmPelsWidth: DWORD, pub dmPelsHeight: DWORD, pub u2: DEVMODE_u2, pub dmDisplayFrequency: DWORD, pub dmICMMethod: DWORD, pub dmICMIntent: DWORD, pub dmMediaType: DWORD, pub dmDitherType: DWORD, pub dmReserved1: DWORD, pub dmReserved2: DWORD, pub dmPanningWidth: DWORD, pub dmPanningHeight: DWORD,
}

Fields§

§dmDeviceName: [CHAR; 32]§dmSpecVersion: WORD§dmDriverVersion: WORD§dmSize: WORD§dmDriverExtra: WORD§dmFields: DWORD§u1: DEVMODE_u1§dmColor: c_short§dmDuplex: c_short§dmYResolution: c_short§dmTTOption: c_short§dmCollate: c_short§dmFormName: [CHAR; 32]§dmLogPixels: WORD§dmBitsPerPel: DWORD§dmPelsWidth: DWORD§dmPelsHeight: DWORD§u2: DEVMODE_u2§dmDisplayFrequency: DWORD§dmICMMethod: DWORD§dmICMIntent: DWORD§dmMediaType: DWORD§dmDitherType: DWORD§dmReserved1: DWORD§dmReserved2: DWORD§dmPanningWidth: DWORD§dmPanningHeight: DWORD

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.