#[repr(C)]pub struct cudaExtent {
pub width: size_t,
pub height: size_t,
pub depth: size_t,
}Expand description
CUDA extent.
Fields§
§width: size_tWidth in elements when referring to array memory, in bytes when referring to linear memory.
height: size_tHeight in elements.
depth: size_tDepth in elements.
Trait Implementations§
Auto Trait Implementations§
impl Forget for cudaExtent
impl Freeze for cudaExtent
impl Move for cudaExtent
impl RefUnwindSafe for cudaExtent
impl Send for cudaExtent
impl Sync for cudaExtent
impl Unpin for cudaExtent
impl UnsafeUnpin 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