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