#[repr(C)]
pub struct DDSURFACEDATA {
Show 23 fields pub ddsCaps: u32, pub dwSurfaceOffset: u32, pub fpLockPtr: usize, pub dwWidth: u32, pub dwHeight: u32, pub lPitch: i32, pub dwOverlayFlags: u32, pub dwOverlayOffset: u32, pub dwOverlaySrcWidth: u32, pub dwOverlaySrcHeight: u32, pub dwOverlayDestWidth: u32, pub dwOverlayDestHeight: u32, pub dwVideoPortId: u32, pub dwFormatFlags: u32, pub dwFormatFourCC: u32, pub dwFormatBitCount: u32, pub dwRBitMask: u32, pub dwGBitMask: u32, pub dwBBitMask: u32, pub dwDriverReserved1: u32, pub dwDriverReserved2: u32, pub dwDriverReserved3: u32, pub dwDriverReserved4: u32,
}
Expand description

Required features: "Win32_Graphics_DirectDraw"

Fields

ddsCaps: u32dwSurfaceOffset: u32fpLockPtr: usizedwWidth: u32dwHeight: u32lPitch: i32dwOverlayFlags: u32dwOverlayOffset: u32dwOverlaySrcWidth: u32dwOverlaySrcHeight: u32dwOverlayDestWidth: u32dwOverlayDestHeight: u32dwVideoPortId: u32dwFormatFlags: u32dwFormatFourCC: u32dwFormatBitCount: u32dwRBitMask: u32dwGBitMask: u32dwBBitMask: u32dwDriverReserved1: u32dwDriverReserved2: u32dwDriverReserved3: u32dwDriverReserved4: 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.