pub struct GcnKernelArg {
pub name: String,
pub size: usize,
pub offset: usize,
}Expand description
GCN kernel argument
Fields§
§name: StringArgument name
size: usizeArgument size in bytes
offset: usizeArgument offset in bytes
Trait Implementations§
Source§impl Clone for GcnKernelArg
impl Clone for GcnKernelArg
Source§fn clone(&self) -> GcnKernelArg
fn clone(&self) -> GcnKernelArg
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 GcnKernelArg
impl Debug for GcnKernelArg
Source§impl<'de> Deserialize<'de> for GcnKernelArg
impl<'de> Deserialize<'de> for GcnKernelArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GcnKernelArg
impl RefUnwindSafe for GcnKernelArg
impl Send for GcnKernelArg
impl Sync for GcnKernelArg
impl Unpin for GcnKernelArg
impl UnsafeUnpin for GcnKernelArg
impl UnwindSafe for GcnKernelArg
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