#[repr(C)]pub struct CUDA_RESOURCE_VIEW_DESC_st {
pub format: CUresourceViewFormat,
pub width: usize,
pub height: usize,
pub depth: usize,
pub firstMipmapLevel: c_uint,
pub lastMipmapLevel: c_uint,
pub firstLayer: c_uint,
pub lastLayer: c_uint,
pub reserved: [c_uint; 16],
}Fields§
§format: CUresourceViewFormat§width: usize§height: usize§depth: usize§firstMipmapLevel: c_uint§lastMipmapLevel: c_uint§firstLayer: c_uint§lastLayer: c_uint§reserved: [c_uint; 16]Trait Implementations§
Source§impl Clone for CUDA_RESOURCE_VIEW_DESC_st
impl Clone for CUDA_RESOURCE_VIEW_DESC_st
Source§impl Debug for CUDA_RESOURCE_VIEW_DESC_st
impl Debug for CUDA_RESOURCE_VIEW_DESC_st
impl Copy for CUDA_RESOURCE_VIEW_DESC_st
Auto Trait Implementations§
impl Freeze for CUDA_RESOURCE_VIEW_DESC_st
impl RefUnwindSafe for CUDA_RESOURCE_VIEW_DESC_st
impl Send for CUDA_RESOURCE_VIEW_DESC_st
impl Sync for CUDA_RESOURCE_VIEW_DESC_st
impl Unpin for CUDA_RESOURCE_VIEW_DESC_st
impl UnwindSafe for CUDA_RESOURCE_VIEW_DESC_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