Struct hip_sys::hiprt::HIP_MEMCPY3D
source · #[repr(C)]pub struct HIP_MEMCPY3D {Show 23 fields
pub srcXInBytes: u32,
pub srcY: u32,
pub srcZ: u32,
pub srcLOD: u32,
pub srcMemoryType: hipMemoryType,
pub srcHost: *const c_void,
pub srcDevice: *mut c_void,
pub srcArray: *mut hipArray,
pub srcPitch: u32,
pub srcHeight: u32,
pub dstXInBytes: u32,
pub dstY: u32,
pub dstZ: u32,
pub dstLOD: u32,
pub dstMemoryType: hipMemoryType,
pub dstHost: *mut c_void,
pub dstDevice: *mut c_void,
pub dstArray: *mut hipArray,
pub dstPitch: u32,
pub dstHeight: u32,
pub WidthInBytes: u32,
pub Height: u32,
pub Depth: u32,
}Fields§
§srcXInBytes: u32§srcY: u32§srcZ: u32§srcLOD: u32§srcMemoryType: hipMemoryType§srcHost: *const c_void§srcDevice: *mut c_void§srcArray: *mut hipArray§srcPitch: u32§srcHeight: u32§dstXInBytes: u32§dstY: u32§dstZ: u32§dstLOD: u32§dstMemoryType: hipMemoryType§dstHost: *mut c_void§dstDevice: *mut c_void§dstArray: *mut hipArray§dstPitch: u32§dstHeight: u32§WidthInBytes: u32§Height: u32§Depth: u32Trait Implementations§
source§impl Clone for HIP_MEMCPY3D
impl Clone for HIP_MEMCPY3D
source§fn clone(&self) -> HIP_MEMCPY3D
fn clone(&self) -> HIP_MEMCPY3D
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_MEMCPY3D
impl Debug for HIP_MEMCPY3D
source§impl Default for HIP_MEMCPY3D
impl Default for HIP_MEMCPY3D
source§fn default() -> HIP_MEMCPY3D
fn default() -> HIP_MEMCPY3D
Returns the “default value” for a type. Read more
source§impl Hash for HIP_MEMCPY3D
impl Hash for HIP_MEMCPY3D
source§impl Ord for HIP_MEMCPY3D
impl Ord for HIP_MEMCPY3D
source§fn cmp(&self, other: &HIP_MEMCPY3D) -> Ordering
fn cmp(&self, other: &HIP_MEMCPY3D) -> 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<HIP_MEMCPY3D> for HIP_MEMCPY3D
impl PartialEq<HIP_MEMCPY3D> for HIP_MEMCPY3D
source§fn eq(&self, other: &HIP_MEMCPY3D) -> bool
fn eq(&self, other: &HIP_MEMCPY3D) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<HIP_MEMCPY3D> for HIP_MEMCPY3D
impl PartialOrd<HIP_MEMCPY3D> for HIP_MEMCPY3D
source§fn partial_cmp(&self, other: &HIP_MEMCPY3D) -> Option<Ordering>
fn partial_cmp(&self, other: &HIP_MEMCPY3D) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for HIP_MEMCPY3D
impl Eq for HIP_MEMCPY3D
impl StructuralEq for HIP_MEMCPY3D
impl StructuralPartialEq for HIP_MEMCPY3D
Auto Trait Implementations§
impl RefUnwindSafe for HIP_MEMCPY3D
impl !Send for HIP_MEMCPY3D
impl !Sync for HIP_MEMCPY3D
impl Unpin for HIP_MEMCPY3D
impl UnwindSafe for HIP_MEMCPY3D
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