#[repr(C)]
pub struct DDSURFACEDESC {
Show 16 fields pub dwSize: u32, pub dwFlags: u32, pub dwHeight: u32, pub dwWidth: u32, pub Anonymous1: DDSURFACEDESC_0, pub dwBackBufferCount: u32, pub Anonymous2: DDSURFACEDESC_1, pub dwAlphaBitDepth: u32, pub dwReserved: u32, pub lpSurface: *mut c_void, pub ddckCKDestOverlay: DDCOLORKEY, pub ddckCKDestBlt: DDCOLORKEY, pub ddckCKSrcOverlay: DDCOLORKEY, pub ddckCKSrcBlt: DDCOLORKEY, pub ddpfPixelFormat: DDPIXELFORMAT, pub ddsCaps: DDSCAPS,
}
Expand description

Required features: "Win32_Graphics_DirectDraw"

Fields

dwSize: u32dwFlags: u32dwHeight: u32dwWidth: u32Anonymous1: DDSURFACEDESC_0dwBackBufferCount: u32Anonymous2: DDSURFACEDESC_1dwAlphaBitDepth: u32dwReserved: u32lpSurface: *mut c_voidddckCKDestOverlay: DDCOLORKEYddckCKDestBlt: DDCOLORKEYddckCKSrcOverlay: DDCOLORKEYddckCKSrcBlt: DDCOLORKEYddpfPixelFormat: DDPIXELFORMATddsCaps: DDSCAPS

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.