#[repr(C)]pub struct hip_Memcpy2D {Show 16 fields
pub srcXInBytes: usize,
pub srcY: usize,
pub srcMemoryType: hipMemoryType,
pub srcHost: *const c_void,
pub srcDevice: hipDeviceptr_t,
pub srcArray: hipArray_t,
pub srcPitch: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstMemoryType: hipMemoryType,
pub dstHost: *mut c_void,
pub dstDevice: hipDeviceptr_t,
pub dstArray: hipArray_t,
pub dstPitch: usize,
pub WidthInBytes: usize,
pub Height: usize,
}
Fields§
§srcXInBytes: usize
§srcY: usize
§srcMemoryType: hipMemoryType
§srcHost: *const c_void
§srcDevice: hipDeviceptr_t
§srcArray: hipArray_t
§srcPitch: usize
§dstXInBytes: usize
§dstY: usize
§dstMemoryType: hipMemoryType
§dstHost: *mut c_void
§dstDevice: hipDeviceptr_t
§dstArray: hipArray_t
§dstPitch: usize
§WidthInBytes: usize
§Height: usize
Trait Implementations§
Source§impl Clone for hip_Memcpy2D
impl Clone for hip_Memcpy2D
Source§fn clone(&self) -> hip_Memcpy2D
fn clone(&self) -> hip_Memcpy2D
Returns a copy 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 hip_Memcpy2D
impl Debug for hip_Memcpy2D
impl Copy for hip_Memcpy2D
Auto Trait Implementations§
impl Freeze for hip_Memcpy2D
impl RefUnwindSafe for hip_Memcpy2D
impl !Send for hip_Memcpy2D
impl !Sync for hip_Memcpy2D
impl Unpin for hip_Memcpy2D
impl UnwindSafe for hip_Memcpy2D
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