#[repr(C)]pub struct DEVMODEW {Show 27 fields
pub dmDeviceName: [u16; 32],
pub dmSpecVersion: u16,
pub dmDriverVersion: u16,
pub dmSize: u16,
pub dmDriverExtra: u16,
pub dmFields: u32,
pub Anonymous1: DEVMODEW_0,
pub dmColor: i16,
pub dmDuplex: i16,
pub dmYResolution: i16,
pub dmTTOption: i16,
pub dmCollate: i16,
pub dmFormName: [u16; 32],
pub dmLogPixels: u16,
pub dmBitsPerPel: u32,
pub dmPelsWidth: u32,
pub dmPelsHeight: u32,
pub Anonymous2: DEVMODEW_1,
pub dmDisplayFrequency: u32,
pub dmICMMethod: u32,
pub dmICMIntent: u32,
pub dmMediaType: u32,
pub dmDitherType: u32,
pub dmReserved1: u32,
pub dmReserved2: u32,
pub dmPanningWidth: u32,
pub dmPanningHeight: u32,
}
Expand description
Required features: ‘Win32_Graphics_Gdi’, ‘Win32_Foundation’
Fields
dmDeviceName: [u16; 32]
dmSpecVersion: u16
dmDriverVersion: u16
dmSize: u16
dmDriverExtra: u16
dmFields: u32
Anonymous1: DEVMODEW_0
dmColor: i16
dmDuplex: i16
dmYResolution: i16
dmTTOption: i16
dmCollate: i16
dmFormName: [u16; 32]
dmLogPixels: u16
dmBitsPerPel: u32
dmPelsWidth: u32
dmPelsHeight: u32
Anonymous2: DEVMODEW_1
dmDisplayFrequency: u32
dmICMMethod: u32
dmICMIntent: u32
dmMediaType: u32
dmDitherType: u32
dmReserved1: u32
dmReserved2: u32
dmPanningWidth: u32
dmPanningHeight: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DEVMODEW
impl Send for DEVMODEW
impl Sync for DEVMODEW
impl Unpin for DEVMODEW
impl UnwindSafe for DEVMODEW
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more