Trait DialectBindings

Source
pub trait DialectBindings<D: Dialect> {
    // Required method
    fn compile_kernel_signature(
        f: &mut Formatter<'_>,
        kernel_name: &str,
        tensor_maps: &[Id],
        buffers: &[Binding<D>],
        scalars: &[(Elem<D>, usize)],
        flags: &Flags,
    ) -> Result;
}

Required Methods§

Source

fn compile_kernel_signature( f: &mut Formatter<'_>, kernel_name: &str, tensor_maps: &[Id], buffers: &[Binding<D>], scalars: &[(Elem<D>, usize)], flags: &Flags, ) -> Result

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.

Implementors§