#[repr(C)]pub struct cudaPitchedPtr {
pub ptr: *mut c_void,
pub pitch: size_t,
pub xsize: size_t,
pub ysize: size_t,
}Expand description
CUDA Pitched memory pointer.
See also: make_cudaPitchedPtr.
Fields§
§ptr: *mut c_voidPointer to allocated memory.
pitch: size_tPitch of allocated memory in bytes.
xsize: size_tLogical width of allocation in elements.
ysize: size_tLogical height of allocation in elements.
Trait Implementations§
Auto Trait Implementations§
impl !Send for cudaPitchedPtr
impl !Sync for cudaPitchedPtr
impl Forget for cudaPitchedPtr
impl Freeze for cudaPitchedPtr
impl Move for cudaPitchedPtr
impl RefUnwindSafe for cudaPitchedPtr
impl Unpin for cudaPitchedPtr
impl UnsafeUnpin for cudaPitchedPtr
impl UnwindSafe for cudaPitchedPtr
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