Struct windows_sys::Wdk::Graphics::Direct3D::D3DKMT_LOCK
#[repr(C)]pub struct D3DKMT_LOCK {
pub hDevice: u32,
pub hAllocation: u32,
pub PrivateDriverData: u32,
pub NumPages: u32,
pub pPages: *const u32,
pub pData: *mut c_void,
pub Flags: D3DDDICB_LOCKFLAGS,
pub GpuVirtualAddress: u64,
}
Fields§
§hDevice: u32
§hAllocation: u32
§PrivateDriverData: u32
§NumPages: u32
§pPages: *const u32
§pData: *mut c_void
§Flags: D3DDDICB_LOCKFLAGS
§GpuVirtualAddress: u64
Trait Implementations§
§impl Clone for D3DKMT_LOCK
impl Clone for D3DKMT_LOCK
§fn clone(&self) -> D3DKMT_LOCK
fn clone(&self) -> D3DKMT_LOCK
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 D3DKMT_LOCK
Auto Trait Implementations§
impl Freeze for D3DKMT_LOCK
impl RefUnwindSafe for D3DKMT_LOCK
impl !Send for D3DKMT_LOCK
impl !Sync for D3DKMT_LOCK
impl Unpin for D3DKMT_LOCK
impl UnwindSafe for D3DKMT_LOCK
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
)