pub trait StaticKernelSource: Send + 'static + Sync {
    // Required method
    fn source() -> SourceTemplate;
}
Expand description

Static wgpu kernel to create a source template.

Required Methods§

source

fn source() -> SourceTemplate

Source template for the kernel.

Object Safety§

This trait is not object safe.

Implementors§