#[repr(C)]pub struct cudaPitchedPtr {
pub ptr: *mut c_void,
pub pitch: usize,
pub xsize: usize,
pub ysize: usize,
}
Expand description
CUDA Pitched memory pointer
\sa ::make_cudaPitchedPtr
Fields§
§ptr: *mut c_void
< Pointer to allocated memory
pitch: usize
< Pitch of allocated memory in bytes
xsize: usize
< Logical width of allocation in elements
ysize: usize
< Logical height of allocation in elements
Trait Implementations§
Source§impl Clone for cudaPitchedPtr
impl Clone for cudaPitchedPtr
Source§fn clone(&self) -> cudaPitchedPtr
fn clone(&self) -> cudaPitchedPtr
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 cudaPitchedPtr
impl Debug for cudaPitchedPtr
impl Copy for cudaPitchedPtr
Auto Trait Implementations§
impl Freeze for cudaPitchedPtr
impl RefUnwindSafe for cudaPitchedPtr
impl !Send for cudaPitchedPtr
impl !Sync for cudaPitchedPtr
impl Unpin 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