pub trait Backend {
// Required method
fn build<T: Transcendental>(
&self,
ir: Ir,
) -> Result<RillProgram<T>, CompileError>;
}Expand description
A backend builds a runnable program from lowered IR.
Required Methods§
Sourcefn build<T: Transcendental>(
&self,
ir: Ir,
) -> Result<RillProgram<T>, CompileError>
fn build<T: Transcendental>( &self, ir: Ir, ) -> Result<RillProgram<T>, CompileError>
Build a program for scalar type T.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".