Struct windows_sys::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,
}
Expand description
Required features: "Win32_Graphics_DirectDraw"
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
impl Copy for DDSURFACEDESC2
Auto Trait Implementations
impl RefUnwindSafe for DDSURFACEDESC2
impl !Send for DDSURFACEDESC2
impl !Sync for DDSURFACEDESC2
impl Unpin for DDSURFACEDESC2
impl UnwindSafe for DDSURFACEDESC2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more