#[repr(C)]pub struct CUDA_MEMCPY2D_st {Show 16 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcMemoryType: CUmemorytype,
pub srcHost: *const c_void,
pub srcDevice: CUdeviceptr,
pub srcArray: CUarray,
pub srcPitch: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstMemoryType: CUmemorytype,
pub dstHost: *mut c_void,
pub dstDevice: CUdeviceptr,
pub dstArray: CUarray,
pub dstPitch: usize,
pub WidthInBytes: usize,
pub Height: usize,
}Fields§
§srcXInBytes: usize§srcY: usize§srcMemoryType: CUmemorytype§srcHost: *const c_void§srcDevice: CUdeviceptr§srcArray: CUarray§srcPitch: usize§dstXInBytes: usize§dstY: usize§dstMemoryType: CUmemorytype§dstHost: *mut c_void§dstDevice: CUdeviceptr§dstArray: CUarray§dstPitch: usize§WidthInBytes: usize§Height: usizeTrait Implementations§
Source§impl Clone for CUDA_MEMCPY2D_st
impl Clone for CUDA_MEMCPY2D_st
Source§fn clone(&self) -> CUDA_MEMCPY2D_st
fn clone(&self) -> CUDA_MEMCPY2D_st
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 CUDA_MEMCPY2D_st
impl Debug for CUDA_MEMCPY2D_st
Source§impl Default for CUDA_MEMCPY2D_st
impl Default for CUDA_MEMCPY2D_st
Source§impl Hash for CUDA_MEMCPY2D_st
impl Hash for CUDA_MEMCPY2D_st
Source§impl Ord for CUDA_MEMCPY2D_st
impl Ord for CUDA_MEMCPY2D_st
Source§fn cmp(&self, other: &CUDA_MEMCPY2D_st) -> Ordering
fn cmp(&self, other: &CUDA_MEMCPY2D_st) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CUDA_MEMCPY2D_st
impl PartialEq for CUDA_MEMCPY2D_st
Source§impl PartialOrd for CUDA_MEMCPY2D_st
impl PartialOrd for CUDA_MEMCPY2D_st
impl Copy for CUDA_MEMCPY2D_st
impl Eq for CUDA_MEMCPY2D_st
impl StructuralPartialEq for CUDA_MEMCPY2D_st
Auto Trait Implementations§
impl Freeze for CUDA_MEMCPY2D_st
impl RefUnwindSafe for CUDA_MEMCPY2D_st
impl !Send for CUDA_MEMCPY2D_st
impl !Sync for CUDA_MEMCPY2D_st
impl Unpin for CUDA_MEMCPY2D_st
impl UnsafeUnpin for CUDA_MEMCPY2D_st
impl UnwindSafe for CUDA_MEMCPY2D_st
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