pub enum FastDivmodArgs<I: FastDivmodInt = usize> {
Fast {
divisor: ScalarArg<I>,
},
Fallback {
divisor: ScalarArg<I>,
},
}Variants§
Implementations§
Source§impl<I: FastDivmodInt> FastDivmodArgs<I>
impl<I: FastDivmodInt> FastDivmodArgs<I>
pub fn new<R: Runtime>(client: &ComputeClient<R>, divisor: I) -> Self
Trait Implementations§
Source§impl<I: FastDivmodInt, R: Runtime> ArgSettings<R> for FastDivmodArgs<I>
impl<I: FastDivmodInt, R: Runtime> ArgSettings<R> for FastDivmodArgs<I>
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<I: Clone + FastDivmodInt> Clone for FastDivmodArgs<I>
impl<I: Clone + FastDivmodInt> Clone for FastDivmodArgs<I>
Source§fn clone(&self) -> FastDivmodArgs<I>
fn clone(&self) -> FastDivmodArgs<I>
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 moreimpl<I: Copy + FastDivmodInt> Copy for FastDivmodArgs<I>
Auto Trait Implementations§
impl<I> Freeze for FastDivmodArgs<I>where
I: Freeze,
impl<I> RefUnwindSafe for FastDivmodArgs<I>where
I: RefUnwindSafe,
impl<I> Send for FastDivmodArgs<I>
impl<I> Sync for FastDivmodArgs<I>
impl<I> Unpin for FastDivmodArgs<I>where
I: Unpin,
impl<I> UnwindSafe for FastDivmodArgs<I>where
I: 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