Struct windows::Win32::Graphics::DirectDraw::VIDEOMEMORYINFO
#[repr(C)]pub struct VIDEOMEMORYINFO {
pub fpPrimary: usize,
pub dwFlags: u32,
pub dwDisplayWidth: u32,
pub dwDisplayHeight: u32,
pub lDisplayPitch: i32,
pub ddpfDisplay: DDPIXELFORMAT,
pub dwOffscreenAlign: u32,
pub dwOverlayAlign: u32,
pub dwTextureAlign: u32,
pub dwZBufferAlign: u32,
pub dwAlphaAlign: u32,
pub pvPrimary: *mut c_void,
}
Fields§
§fpPrimary: usize
§dwFlags: u32
§dwDisplayWidth: u32
§dwDisplayHeight: u32
§lDisplayPitch: i32
§ddpfDisplay: DDPIXELFORMAT
§dwOffscreenAlign: u32
§dwOverlayAlign: u32
§dwTextureAlign: u32
§dwZBufferAlign: u32
§dwAlphaAlign: u32
§pvPrimary: *mut c_void
Trait Implementations§
§impl Clone for VIDEOMEMORYINFO
impl Clone for VIDEOMEMORYINFO
§fn clone(&self) -> VIDEOMEMORYINFO
fn clone(&self) -> VIDEOMEMORYINFO
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 VIDEOMEMORYINFO
impl Default for VIDEOMEMORYINFO
impl Copy for VIDEOMEMORYINFO
Auto Trait Implementations§
impl Freeze for VIDEOMEMORYINFO
impl RefUnwindSafe for VIDEOMEMORYINFO
impl !Send for VIDEOMEMORYINFO
impl !Sync for VIDEOMEMORYINFO
impl Unpin for VIDEOMEMORYINFO
impl UnwindSafe for VIDEOMEMORYINFO
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
)