#[repr(C)]pub struct cudaResourceViewDesc {
pub format: cudaResourceViewFormat,
pub width: usize,
pub height: usize,
pub depth: usize,
pub firstMipmapLevel: u32,
pub lastMipmapLevel: u32,
pub firstLayer: u32,
pub lastLayer: u32,
}
Expand description
CUDA resource view descriptor
Fields§
§format: cudaResourceViewFormat
< Resource view format
width: usize
< Width of the resource view
height: usize
< Height of the resource view
depth: usize
< Depth of the resource view
firstMipmapLevel: u32
< First defined mipmap level
lastMipmapLevel: u32
< Last defined mipmap level
firstLayer: u32
< First layer index
lastLayer: u32
< Last layer index
Trait Implementations§
Source§impl Clone for cudaResourceViewDesc
impl Clone for cudaResourceViewDesc
Source§fn clone(&self) -> cudaResourceViewDesc
fn clone(&self) -> cudaResourceViewDesc
Returns a duplicate 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 Debug for cudaResourceViewDesc
impl Debug for cudaResourceViewDesc
impl Copy for cudaResourceViewDesc
Auto Trait Implementations§
impl Freeze for cudaResourceViewDesc
impl RefUnwindSafe for cudaResourceViewDesc
impl Send for cudaResourceViewDesc
impl Sync for cudaResourceViewDesc
impl Unpin for cudaResourceViewDesc
impl UnwindSafe for cudaResourceViewDesc
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