Struct hip_sys::hiprt::hip_Memcpy2D
source · #[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: *mut c_void,
pub srcArray: *mut hipArray,
pub srcPitch: usize,
pub dstXInBytes: usize,
pub dstY: usize,
pub dstMemoryType: hipMemoryType,
pub dstHost: *mut c_void,
pub dstDevice: *mut c_void,
pub dstArray: *mut hipArray,
pub dstPitch: usize,
pub WidthInBytes: usize,
pub Height: usize,
}Fields§
§srcXInBytes: usize§srcY: usize§srcMemoryType: hipMemoryType§srcHost: *const c_void§srcDevice: *mut c_void§srcArray: *mut hipArray§srcPitch: usize§dstXInBytes: usize§dstY: usize§dstMemoryType: hipMemoryType§dstHost: *mut c_void§dstDevice: *mut c_void§dstArray: *mut hipArray§dstPitch: usize§WidthInBytes: usize§Height: usizeTrait 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
source§impl Default for hip_Memcpy2D
impl Default for hip_Memcpy2D
source§fn default() -> hip_Memcpy2D
fn default() -> hip_Memcpy2D
Returns the “default value” for a type. Read more
source§impl Hash for hip_Memcpy2D
impl Hash for hip_Memcpy2D
source§impl Ord for hip_Memcpy2D
impl Ord for hip_Memcpy2D
source§fn cmp(&self, other: &hip_Memcpy2D) -> Ordering
fn cmp(&self, other: &hip_Memcpy2D) -> 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_Memcpy2D> for hip_Memcpy2D
impl PartialEq<hip_Memcpy2D> for hip_Memcpy2D
source§fn eq(&self, other: &hip_Memcpy2D) -> bool
fn eq(&self, other: &hip_Memcpy2D) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hip_Memcpy2D> for hip_Memcpy2D
impl PartialOrd<hip_Memcpy2D> for hip_Memcpy2D
source§fn partial_cmp(&self, other: &hip_Memcpy2D) -> Option<Ordering>
fn partial_cmp(&self, other: &hip_Memcpy2D) -> 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_Memcpy2D
impl Eq for hip_Memcpy2D
impl StructuralEq for hip_Memcpy2D
impl StructuralPartialEq for hip_Memcpy2D
Auto Trait Implementations§
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