#[repr(C)]pub struct D3DKMT_OPENRESOURCEFROMNTHANDLE {Show 15 fields
pub hDevice: u32,
pub hNtHandle: HANDLE,
pub NumAllocations: u32,
pub pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2,
pub PrivateRuntimeDataSize: u32,
pub pPrivateRuntimeData: *mut c_void,
pub ResourcePrivateDriverDataSize: u32,
pub pResourcePrivateDriverData: *mut c_void,
pub TotalPrivateDriverDataBufferSize: u32,
pub pTotalPrivateDriverDataBuffer: *mut c_void,
pub hResource: u32,
pub hKeyedMutex: u32,
pub pKeyedMutexPrivateRuntimeData: *mut c_void,
pub KeyedMutexPrivateRuntimeDataSize: u32,
pub hSyncObject: u32,
}
Fields§
§hDevice: u32
§hNtHandle: HANDLE
§NumAllocations: u32
§pOpenAllocationInfo2: *mut D3DDDI_OPENALLOCATIONINFO2
§PrivateRuntimeDataSize: u32
§pPrivateRuntimeData: *mut c_void
§ResourcePrivateDriverDataSize: u32
§pResourcePrivateDriverData: *mut c_void
§TotalPrivateDriverDataBufferSize: u32
§pTotalPrivateDriverDataBuffer: *mut c_void
§hResource: u32
§hKeyedMutex: u32
§pKeyedMutexPrivateRuntimeData: *mut c_void
§KeyedMutexPrivateRuntimeDataSize: u32
§hSyncObject: u32
Trait Implementations§
§impl Clone for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl Clone for D3DKMT_OPENRESOURCEFROMNTHANDLE
§fn clone(&self) -> D3DKMT_OPENRESOURCEFROMNTHANDLE
fn clone(&self) -> D3DKMT_OPENRESOURCEFROMNTHANDLE
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_OPENRESOURCEFROMNTHANDLE
Auto Trait Implementations§
impl Freeze for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl RefUnwindSafe for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl !Send for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl !Sync for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl Unpin for D3DKMT_OPENRESOURCEFROMNTHANDLE
impl UnwindSafe for D3DKMT_OPENRESOURCEFROMNTHANDLE
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
)