#[repr(C)]pub struct CUarrayMapInfo_st {
pub resourceType: CUresourcetype,
pub resource: CUarrayMapInfo_st__bindgen_ty_1,
pub subresourceType: CUarraySparseSubresourceType,
pub subresource: CUarrayMapInfo_st__bindgen_ty_2,
pub memOperationType: CUmemOperationType,
pub memHandleType: CUmemHandleType,
pub memHandle: CUarrayMapInfo_st__bindgen_ty_3,
pub offset: c_ulonglong,
pub deviceBitMask: c_uint,
pub flags: c_uint,
pub reserved: [c_uint; 2],
}Expand description
Specifies the CUDA array or CUDA mipmapped array memory mapping information.
Fields§
§resourceType: CUresourcetypeResource type.
resource: CUarrayMapInfo_st__bindgen_ty_1Array or mipmapped-array resource selected by resourceType.
subresourceType: CUarraySparseSubresourceTypeSparse subresource type.
subresource: CUarrayMapInfo_st__bindgen_ty_2Sparse mip-level or mip-tail region selected by subresourceType.
memOperationType: CUmemOperationTypeMemory operation type.
memHandleType: CUmemHandleTypeMemory handle type.
memHandle: CUarrayMapInfo_st__bindgen_ty_3Memory handle representation selected by memHandleType.
offset: c_ulonglongOffset within mip tail.
Offset within the memory.
deviceBitMask: c_uintDevice ordinal bit mask.
flags: c_uintflags for future use, must be zero now.
reserved: [c_uint; 2]Reserved for future use, must be zero now.
Trait Implementations§
Source§impl Clone for CUarrayMapInfo_st
impl Clone for CUarrayMapInfo_st
impl Copy for CUarrayMapInfo_st
Auto Trait Implementations§
impl !Send for CUarrayMapInfo_st
impl !Sync for CUarrayMapInfo_st
impl Forget for CUarrayMapInfo_st
impl Freeze for CUarrayMapInfo_st
impl Move for CUarrayMapInfo_st
impl RefUnwindSafe for CUarrayMapInfo_st
impl Unpin for CUarrayMapInfo_st
impl UnsafeUnpin for CUarrayMapInfo_st
impl UnwindSafe for CUarrayMapInfo_st
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