Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_SUBRESOURCE_DATA
source · #[repr(C)]pub struct D3D12_SUBRESOURCE_DATA {
pub pData: *const c_void,
pub RowPitch: isize,
pub SlicePitch: isize,
}
Fields§
§pData: *const c_void
§RowPitch: isize
§SlicePitch: isize
Trait Implementations§
source§impl Clone for D3D12_SUBRESOURCE_DATA
impl Clone for D3D12_SUBRESOURCE_DATA
source§fn clone(&self) -> D3D12_SUBRESOURCE_DATA
fn clone(&self) -> D3D12_SUBRESOURCE_DATA
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 moresource§impl Default for D3D12_SUBRESOURCE_DATA
impl Default for D3D12_SUBRESOURCE_DATA
source§fn default() -> D3D12_SUBRESOURCE_DATA
fn default() -> D3D12_SUBRESOURCE_DATA
Returns the “default value” for a type. Read more
impl Copy for D3D12_SUBRESOURCE_DATA
Auto Trait Implementations§
impl RefUnwindSafe for D3D12_SUBRESOURCE_DATA
impl !Send for D3D12_SUBRESOURCE_DATA
impl !Sync for D3D12_SUBRESOURCE_DATA
impl Unpin for D3D12_SUBRESOURCE_DATA
impl UnwindSafe for D3D12_SUBRESOURCE_DATA
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