Struct windows_sys::Wdk::Graphics::Direct3D::D3DKMT_OPENRESOURCE
#[repr(C)]pub struct D3DKMT_OPENRESOURCE {
pub hDevice: u32,
pub hGlobalShare: u32,
pub NumAllocations: u32,
pub Anonymous: D3DKMT_OPENRESOURCE_0,
pub pPrivateRuntimeData: *mut c_void,
pub PrivateRuntimeDataSize: u32,
pub pResourcePrivateDriverData: *mut c_void,
pub ResourcePrivateDriverDataSize: u32,
pub pTotalPrivateDriverDataBuffer: *mut c_void,
pub TotalPrivateDriverDataBufferSize: u32,
pub hResource: u32,
}
Fields§
§hDevice: u32
§NumAllocations: u32
§Anonymous: D3DKMT_OPENRESOURCE_0
§pPrivateRuntimeData: *mut c_void
§PrivateRuntimeDataSize: u32
§pResourcePrivateDriverData: *mut c_void
§ResourcePrivateDriverDataSize: u32
§pTotalPrivateDriverDataBuffer: *mut c_void
§TotalPrivateDriverDataBufferSize: u32
§hResource: u32
Trait Implementations§
§impl Clone for D3DKMT_OPENRESOURCE
impl Clone for D3DKMT_OPENRESOURCE
§fn clone(&self) -> D3DKMT_OPENRESOURCE
fn clone(&self) -> D3DKMT_OPENRESOURCE
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_OPENRESOURCE
Auto Trait Implementations§
impl Freeze for D3DKMT_OPENRESOURCE
impl RefUnwindSafe for D3DKMT_OPENRESOURCE
impl !Send for D3DKMT_OPENRESOURCE
impl !Sync for D3DKMT_OPENRESOURCE
impl Unpin for D3DKMT_OPENRESOURCE
impl UnwindSafe for D3DKMT_OPENRESOURCE
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
)