Struct CUDA_MEMCPY2D_st
#[repr(C)]pub struct CUDA_MEMCPY2D_st {Show 16 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcMemoryType: CUmemorytype_enum,
pub srcHost: *const c_void,
pub srcDevice: u64,
pub srcArray: *mut CUarray_st,
pub srcPitch: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstMemoryType: CUmemorytype_enum,
pub dstHost: *mut c_void,
pub dstDevice: u64,
pub dstArray: *mut CUarray_st,
pub dstPitch: usize,
pub WidthInBytes: usize,
pub Height: usize,
}Fields§
§srcXInBytes: usize§srcY: usize§srcMemoryType: CUmemorytype_enum§srcHost: *const c_void§srcDevice: u64§srcArray: *mut CUarray_st§srcPitch: usize§dstXInBytes: usize§dstY: usize§dstMemoryType: CUmemorytype_enum§dstHost: *mut c_void§dstDevice: u64§dstArray: *mut CUarray_st§dstPitch: usize§WidthInBytes: usize§Height: usizeTrait Implementations§
§impl Clone for CUDA_MEMCPY2D_st
impl Clone for CUDA_MEMCPY2D_st
§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 more§impl Debug for CUDA_MEMCPY2D_st
impl Debug for CUDA_MEMCPY2D_st
§impl Hash for CUDA_MEMCPY2D_st
impl Hash for CUDA_MEMCPY2D_st
§impl Ord for CUDA_MEMCPY2D_st
impl Ord for CUDA_MEMCPY2D_st
§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
§impl PartialEq for CUDA_MEMCPY2D_st
impl PartialEq for CUDA_MEMCPY2D_st
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more