pub struct ScalarArg<T: Numeric> {
pub elem: T,
}
Fields§
§elem: T
Implementations§
Trait Implementations§
Source§impl<T: Numeric, R: Runtime> ArgSettings<R> for ScalarArg<T>
impl<T: Numeric, R: Runtime> ArgSettings<R> for ScalarArg<T>
Source§fn register(&self, launcher: &mut KernelLauncher<R>)
fn register(&self, launcher: &mut KernelLauncher<R>)
Register the information of an argument to the KernelLauncher.
Auto Trait Implementations§
impl<T> Freeze for ScalarArg<T>where
T: Freeze,
impl<T> RefUnwindSafe for ScalarArg<T>where
T: RefUnwindSafe,
impl<T> Send for ScalarArg<T>
impl<T> Sync for ScalarArg<T>
impl<T> Unpin for ScalarArg<T>where
T: Unpin,
impl<T> UnwindSafe for ScalarArg<T>where
T: UnwindSafe,
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