#[repr(C)]
pub struct DDSURFACEDESC2 {
Show 17 fields pub dwSize: u32, pub dwFlags: u32, pub dwHeight: u32, pub dwWidth: u32, pub Anonymous1: DDSURFACEDESC2_0, pub Anonymous2: DDSURFACEDESC2_1, pub Anonymous3: DDSURFACEDESC2_2, pub dwAlphaBitDepth: u32, pub dwReserved: u32, pub lpSurface: *mut c_void, pub Anonymous4: DDSURFACEDESC2_3, pub ddckCKDestBlt: DDCOLORKEY, pub ddckCKSrcOverlay: DDCOLORKEY, pub ddckCKSrcBlt: DDCOLORKEY, pub Anonymous5: DDSURFACEDESC2_4, pub ddsCaps: DDSCAPS2, pub dwTextureStage: u32,
}
Expand description

Required features: "Win32_Graphics_DirectDraw"

Fields

dwSize: u32dwFlags: u32dwHeight: u32dwWidth: u32Anonymous1: DDSURFACEDESC2_0Anonymous2: DDSURFACEDESC2_1Anonymous3: DDSURFACEDESC2_2dwAlphaBitDepth: u32dwReserved: u32lpSurface: *mut c_voidAnonymous4: DDSURFACEDESC2_3ddckCKDestBlt: DDCOLORKEYddckCKSrcOverlay: DDCOLORKEYddckCKSrcBlt: DDCOLORKEYAnonymous5: DDSURFACEDESC2_4ddsCaps: DDSCAPS2dwTextureStage: u32

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.