Struct hip_sys::hiprt::hipMemsetParams
source · #[repr(C)]pub struct hipMemsetParams {
pub dst: *mut c_void,
pub elementSize: u32,
pub height: usize,
pub pitch: usize,
pub value: u32,
pub width: usize,
}Fields§
§dst: *mut c_void§elementSize: u32§height: usize§pitch: usize§value: u32§width: usizeTrait Implementations§
source§impl Clone for hipMemsetParams
impl Clone for hipMemsetParams
source§fn clone(&self) -> hipMemsetParams
fn clone(&self) -> hipMemsetParams
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 hipMemsetParams
impl Debug for hipMemsetParams
source§impl Default for hipMemsetParams
impl Default for hipMemsetParams
source§fn default() -> hipMemsetParams
fn default() -> hipMemsetParams
Returns the “default value” for a type. Read more
source§impl Hash for hipMemsetParams
impl Hash for hipMemsetParams
source§impl Ord for hipMemsetParams
impl Ord for hipMemsetParams
source§fn cmp(&self, other: &hipMemsetParams) -> Ordering
fn cmp(&self, other: &hipMemsetParams) -> 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<hipMemsetParams> for hipMemsetParams
impl PartialEq<hipMemsetParams> for hipMemsetParams
source§fn eq(&self, other: &hipMemsetParams) -> bool
fn eq(&self, other: &hipMemsetParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipMemsetParams> for hipMemsetParams
impl PartialOrd<hipMemsetParams> for hipMemsetParams
source§fn partial_cmp(&self, other: &hipMemsetParams) -> Option<Ordering>
fn partial_cmp(&self, other: &hipMemsetParams) -> 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 hipMemsetParams
impl Eq for hipMemsetParams
impl StructuralEq for hipMemsetParams
impl StructuralPartialEq for hipMemsetParams
Auto Trait Implementations§
impl RefUnwindSafe for hipMemsetParams
impl !Send for hipMemsetParams
impl !Sync for hipMemsetParams
impl Unpin for hipMemsetParams
impl UnwindSafe for hipMemsetParams
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