pub trait KernelLaunch: Send + Sync {
// Required method
fn name(&self) -> &str;
// Provided method
fn occupancy_hint(&self) -> u32 { ... }
}Expand description
A pre-translated kernel ready to be launched. Backends extend this with the actual function pointer / pipeline state.
Required Methods§
Provided Methods§
fn occupancy_hint(&self) -> u32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".