pub trait ShapeProgramExt<This> {
// Required method
fn compile_shape<Program>(&self, program: Program) -> Program::Ty
where Program: ShapeProgramAlg<This>;
}Expand description
Compiles a shape declaration with an interpretation.
Required Methods§
Sourcefn compile_shape<Program>(&self, program: Program) -> Program::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(&self, program: Program) -> Program::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<This> ShapeProgramExt<This> for This
Compiles a shape declaration with an interpretation.