Struct windows_sys::Wdk::Graphics::Direct3D::D3DKMT_CREATEALLOCATION
#[repr(C)]pub struct D3DKMT_CREATEALLOCATION {
pub hDevice: u32,
pub hResource: u32,
pub hGlobalShare: u32,
pub pPrivateRuntimeData: *const c_void,
pub PrivateRuntimeDataSize: u32,
pub Anonymous1: D3DKMT_CREATEALLOCATION_0,
pub PrivateDriverDataSize: u32,
pub NumAllocations: u32,
pub Anonymous2: D3DKMT_CREATEALLOCATION_1,
pub Flags: D3DKMT_CREATEALLOCATIONFLAGS,
pub hPrivateRuntimeResourceHandle: HANDLE,
}
Fields§
§hDevice: u32
§hResource: u32
§pPrivateRuntimeData: *const c_void
§PrivateRuntimeDataSize: u32
§Anonymous1: D3DKMT_CREATEALLOCATION_0
§PrivateDriverDataSize: u32
§NumAllocations: u32
§Anonymous2: D3DKMT_CREATEALLOCATION_1
§Flags: D3DKMT_CREATEALLOCATIONFLAGS
§hPrivateRuntimeResourceHandle: HANDLE
Trait Implementations§
§impl Clone for D3DKMT_CREATEALLOCATION
impl Clone for D3DKMT_CREATEALLOCATION
§fn clone(&self) -> D3DKMT_CREATEALLOCATION
fn clone(&self) -> D3DKMT_CREATEALLOCATION
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_CREATEALLOCATION
Auto Trait Implementations§
impl Freeze for D3DKMT_CREATEALLOCATION
impl RefUnwindSafe for D3DKMT_CREATEALLOCATION
impl !Send for D3DKMT_CREATEALLOCATION
impl !Sync for D3DKMT_CREATEALLOCATION
impl Unpin for D3DKMT_CREATEALLOCATION
impl UnwindSafe for D3DKMT_CREATEALLOCATION
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
)