#[repr(C)]
pub struct DDHAL_DDCALLBACKS { pub dwSize: u32, pub dwFlags: u32, pub DestroyDriver: LPDDHAL_DESTROYDRIVER, pub CreateSurface: LPDDHAL_CREATESURFACE, pub SetColorKey: LPDDHAL_SETCOLORKEY, pub SetMode: LPDDHAL_SETMODE, pub WaitForVerticalBlank: LPDDHAL_WAITFORVERTICALBLANK, pub CanCreateSurface: LPDDHAL_CANCREATESURFACE, pub CreatePalette: LPDDHAL_CREATEPALETTE, pub GetScanLine: LPDDHAL_GETSCANLINE, pub SetExclusiveMode: LPDDHAL_SETEXCLUSIVEMODE, pub FlipToGDISurface: LPDDHAL_FLIPTOGDISURFACE, }
Expand description

Required features: "Win32_Graphics_DirectDraw", "Win32_Foundation", "Win32_Graphics_Gdi"

Fields

dwSize: u32dwFlags: u32DestroyDriver: LPDDHAL_DESTROYDRIVERCreateSurface: LPDDHAL_CREATESURFACESetColorKey: LPDDHAL_SETCOLORKEYSetMode: LPDDHAL_SETMODEWaitForVerticalBlank: LPDDHAL_WAITFORVERTICALBLANKCanCreateSurface: LPDDHAL_CANCREATESURFACECreatePalette: LPDDHAL_CREATEPALETTEGetScanLine: LPDDHAL_GETSCANLINESetExclusiveMode: LPDDHAL_SETEXCLUSIVEMODEFlipToGDISurface: LPDDHAL_FLIPTOGDISURFACE

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.