pub trait KvasirGenerator: Send + Sync {
// Required method
fn generate(&self) -> Result<(), GeneratorError>;
}Expand description
A stable API for AI systems (LLMs, diffusion models) to generate and inject materials or subgraphs into the Kvasir renderer.
Required Methods§
fn generate(&self) -> Result<(), GeneratorError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".