pub enum CubeOptionArgs<'a, T: CubeLaunch, R: Runtime> {
Some(<T as LaunchArg>::RuntimeArg<'a, R>),
None,
}
Variants§
Some(<T as LaunchArg>::RuntimeArg<'a, R>)
None
Trait Implementations§
Source§impl<T: CubeLaunch, R: Runtime> ArgSettings<R> for CubeOptionArgs<'_, T, R>
impl<T: CubeLaunch, R: Runtime> ArgSettings<R> for CubeOptionArgs<'_, T, R>
Source§fn register(&self, launcher: &mut KernelLauncher<R>)
fn register(&self, launcher: &mut KernelLauncher<R>)
Register the information of an argument to the KernelLauncher.
Source§impl<'a, T: CubeLaunch, R: Runtime> From<Option<<T as LaunchArg>::RuntimeArg<'a, R>>> for CubeOptionArgs<'a, T, R>
impl<'a, T: CubeLaunch, R: Runtime> From<Option<<T as LaunchArg>::RuntimeArg<'a, R>>> for CubeOptionArgs<'a, T, R>
Auto Trait Implementations§
impl<'a, T, R> Freeze for CubeOptionArgs<'a, T, R>
impl<'a, T, R> RefUnwindSafe for CubeOptionArgs<'a, T, R>
impl<'a, T, R> Send for CubeOptionArgs<'a, T, R>
impl<'a, T, R> Sync for CubeOptionArgs<'a, T, R>
impl<'a, T, R> Unpin for CubeOptionArgs<'a, T, R>
impl<'a, T, R> UnwindSafe for CubeOptionArgs<'a, T, R>
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