Struct windows::Win32::Graphics::DirectDraw::DDSURFACEDESC2
#[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,
}
Fields§
§dwSize: u32
§dwFlags: u32
§dwHeight: u32
§dwWidth: u32
§Anonymous1: DDSURFACEDESC2_0
§Anonymous2: DDSURFACEDESC2_1
§Anonymous3: DDSURFACEDESC2_2
§dwAlphaBitDepth: u32
§dwReserved: u32
§lpSurface: *mut c_void
§Anonymous4: DDSURFACEDESC2_3
§ddckCKDestBlt: DDCOLORKEY
§ddckCKSrcOverlay: DDCOLORKEY
§ddckCKSrcBlt: DDCOLORKEY
§Anonymous5: DDSURFACEDESC2_4
§ddsCaps: DDSCAPS2
§dwTextureStage: u32
Trait Implementations§
§impl Clone for DDSURFACEDESC2
impl Clone for DDSURFACEDESC2
§fn clone(&self) -> DDSURFACEDESC2
fn clone(&self) -> DDSURFACEDESC2
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 Default for DDSURFACEDESC2
impl Default for DDSURFACEDESC2
impl Copy for DDSURFACEDESC2
Auto Trait Implementations§
impl Freeze for DDSURFACEDESC2
impl RefUnwindSafe for DDSURFACEDESC2
impl !Send for DDSURFACEDESC2
impl !Sync for DDSURFACEDESC2
impl Unpin for DDSURFACEDESC2
impl UnwindSafe for DDSURFACEDESC2
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
)