#[repr(C)]
pub struct DEVMODEW {Show 27 fields
pub dmDeviceName: [WCHAR; 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: [WCHAR; 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,
}
Performs copy-assignment from source
. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.