#[repr(C)]pub struct cudaMemsetParamsV2 {
pub dst: *mut c_void,
pub pitch: usize,
pub value: c_uint,
pub elementSize: c_uint,
pub width: usize,
pub height: usize,
}
Expand description
CUDA Memset node parameters
Fields§
§dst: *mut c_void
< Destination device pointer
pitch: usize
< Pitch of destination device pointer. Unused if height is 1
value: c_uint
< Value to be set
elementSize: c_uint
< Size of each element in bytes. Must be 1, 2, or 4.
width: usize
< Width of the row in elements
height: usize
< Number of rows
Trait Implementations§
Source§impl Clone for cudaMemsetParamsV2
impl Clone for cudaMemsetParamsV2
Source§fn clone(&self) -> cudaMemsetParamsV2
fn clone(&self) -> cudaMemsetParamsV2
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 moreSource§impl Debug for cudaMemsetParamsV2
impl Debug for cudaMemsetParamsV2
impl Copy for cudaMemsetParamsV2
Auto Trait Implementations§
impl Freeze for cudaMemsetParamsV2
impl RefUnwindSafe for cudaMemsetParamsV2
impl !Send for cudaMemsetParamsV2
impl !Sync for cudaMemsetParamsV2
impl Unpin for cudaMemsetParamsV2
impl UnwindSafe for cudaMemsetParamsV2
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