FastDivmodInt

Trait FastDivmodInt 

Source
pub trait FastDivmodInt:
    Int
    + MulHi
    + ScalarArgSettings {
    // Required method
    fn size<R: Runtime>(launcher: &KernelLauncher<R>) -> usize;
}

Required Methods§

Source

fn size<R: Runtime>(launcher: &KernelLauncher<R>) -> usize

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.

Implementations on Foreign Types§

Source§

impl FastDivmodInt for u32

Source§

fn size<R: Runtime>(_launcher: &KernelLauncher<R>) -> usize

Source§

impl FastDivmodInt for usize

Source§

fn size<R: Runtime>(launcher: &KernelLauncher<R>) -> usize

Implementors§