Skip to main content

CliProgramAlg

Trait CliProgramAlg 

Source
pub trait CliProgramAlg<Compiler> {
    type Commands;

    // Required method
    fn compile_cli(self, compiler: &Compiler) -> Self::Commands;
}
Expand description

Interprets a named, defunctionalized CLI program with Compiler.

Required Associated Types§

Source

type Commands

The command collection produced by Compiler.

Required Methods§

Source

fn compile_cli(self, compiler: &Compiler) -> Self::Commands

Compiles the program through the supplied interpreter.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§