#[repr(C)]
pub struct VIDMEMINFO {
Show 13 fields pub fpPrimary: usize, pub dwFlags: u32, pub dwDisplayWidth: u32, pub dwDisplayHeight: u32, pub lDisplayPitch: i32, pub ddpfDisplay: DDPIXELFORMAT, pub dwOffscreenAlign: u32, pub dwOverlayAlign: u32, pub dwTextureAlign: u32, pub dwZBufferAlign: u32, pub dwAlphaAlign: u32, pub dwNumHeaps: u32, pub pvmList: *mut VIDMEM,
}
Expand description

Required features: "Win32_Graphics_DirectDraw", "Win32_Foundation"

Fields

fpPrimary: usizedwFlags: u32dwDisplayWidth: u32dwDisplayHeight: u32lDisplayPitch: i32ddpfDisplay: DDPIXELFORMATdwOffscreenAlign: u32dwOverlayAlign: u32dwTextureAlign: u32dwZBufferAlign: u32dwAlphaAlign: u32dwNumHeaps: u32pvmList: *mut VIDMEM

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.