pub trait ScalarArgSettings: Send + Sync {
// Required method
fn register<R: Runtime>(&self, launcher: &mut KernelLauncher<R>);
}
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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.