#[repr(C)]pub struct cudaExtent {
pub width: usize,
pub height: usize,
pub depth: usize,
}
Expand description
CUDA extent
\sa ::make_cudaExtent
Fields§
§width: usize
< Width in elements when referring to array memory, in bytes when referring to linear memory
height: usize
< Height in elements
depth: usize
< Depth in elements
Trait Implementations§
Source§impl Clone for cudaExtent
impl Clone for cudaExtent
Source§fn clone(&self) -> cudaExtent
fn clone(&self) -> cudaExtent
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 cudaExtent
impl Debug for cudaExtent
impl Copy for cudaExtent
Auto Trait Implementations§
impl Freeze for cudaExtent
impl RefUnwindSafe for cudaExtent
impl Send for cudaExtent
impl Sync for cudaExtent
impl Unpin for cudaExtent
impl UnwindSafe for cudaExtent
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