Skip to main content

ShapeProgramExt

Trait ShapeProgramExt 

Source
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§

Source

fn compile_shape<Program>(&self, program: Program) -> Program::Ty
where 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§

Source§

impl<This> ShapeProgramExt<This> for This

Compiles a shape declaration with an interpretation.