Struct windows::Win32::Graphics::DirectDraw::DD_CALLBACKS
#[repr(C)]pub struct DD_CALLBACKS {
pub dwSize: u32,
pub dwFlags: u32,
pub DestroyDriver: PDD_DESTROYDRIVER,
pub CreateSurface: PDD_CREATESURFACE,
pub SetColorKey: PDD_SETCOLORKEY,
pub SetMode: PDD_SETMODE,
pub WaitForVerticalBlank: PDD_WAITFORVERTICALBLANK,
pub CanCreateSurface: PDD_CANCREATESURFACE,
pub CreatePalette: PDD_CREATEPALETTE,
pub GetScanLine: PDD_GETSCANLINE,
pub MapMemory: PDD_MAPMEMORY,
}
Fields§
§dwSize: u32
§dwFlags: u32
§DestroyDriver: PDD_DESTROYDRIVER
§CreateSurface: PDD_CREATESURFACE
§SetColorKey: PDD_SETCOLORKEY
§SetMode: PDD_SETMODE
§WaitForVerticalBlank: PDD_WAITFORVERTICALBLANK
§CanCreateSurface: PDD_CANCREATESURFACE
§CreatePalette: PDD_CREATEPALETTE
§GetScanLine: PDD_GETSCANLINE
§MapMemory: PDD_MAPMEMORY
Trait Implementations§
§impl Clone for DD_CALLBACKS
impl Clone for DD_CALLBACKS
§fn clone(&self) -> DD_CALLBACKS
fn clone(&self) -> DD_CALLBACKS
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DD_CALLBACKS
impl Debug for DD_CALLBACKS
§impl Default for DD_CALLBACKS
impl Default for DD_CALLBACKS
impl Copy for DD_CALLBACKS
Auto Trait Implementations§
impl Freeze for DD_CALLBACKS
impl RefUnwindSafe for DD_CALLBACKS
impl Send for DD_CALLBACKS
impl Sync for DD_CALLBACKS
impl Unpin for DD_CALLBACKS
impl UnwindSafe for DD_CALLBACKS
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)