pub trait ScalarArgSettings:
Send
+ Sync
+ RudaPrimitive {
// Required method
fn register<R: Runtime>(&self, launcher: &mut KernelLauncher<R>);
// Provided method
fn expand_scalar(builder: &mut KernelBuilder) -> NativeExpand<Self> { ... }
}Expand description
Similar to [ArgSettings], however only for scalar types that don’t depend on the Runtime
trait.
Required Methods§
Sourcefn register<R: Runtime>(&self, launcher: &mut KernelLauncher<R>)
fn register<R: Runtime>(&self, launcher: &mut KernelLauncher<R>)
Register the information to the KernelLauncher.
Provided Methods§
fn expand_scalar(builder: &mut KernelBuilder) -> NativeExpand<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".