Union cudarc::driver::sys::CUDA_RESOURCE_DESC_st__bindgen_ty_1
source · #[repr(C)]
pub union CUDA_RESOURCE_DESC_st__bindgen_ty_1 {
pub array: CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_1,
pub mipmap: CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_2,
pub linear: CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_3,
pub pitch2D: CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_4,
pub reserved: CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_5,
}
Fields§
§array:CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_1
§
mipmap:CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_2
§
linear:CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_3
§
pitch2D:CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_4
§
reserved:CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_5
Trait Implementations§
source§impl Clone for CUDA_RESOURCE_DESC_st__bindgen_ty_1
impl Clone for CUDA_RESOURCE_DESC_st__bindgen_ty_1
source§fn clone(&self) -> CUDA_RESOURCE_DESC_st__bindgen_ty_1
fn clone(&self) -> CUDA_RESOURCE_DESC_st__bindgen_ty_1
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 CUDA_RESOURCE_DESC_st__bindgen_ty_1
Auto Trait Implementations§
impl RefUnwindSafe for CUDA_RESOURCE_DESC_st__bindgen_ty_1
impl !Send for CUDA_RESOURCE_DESC_st__bindgen_ty_1
impl !Sync for CUDA_RESOURCE_DESC_st__bindgen_ty_1
impl Unpin for CUDA_RESOURCE_DESC_st__bindgen_ty_1
impl UnwindSafe for CUDA_RESOURCE_DESC_st__bindgen_ty_1
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