Skip to main content

Generator

Trait Generator 

Source
pub trait Generator {
    type Output;

    // Required method
    fn generate(self, application: Application) -> AssemblerResult<Self::Output>;
}
Expand description

Generate an output for a given application.

Required Associated Types§

Required Methods§

Source

fn generate(self, application: Application) -> AssemblerResult<Self::Output>

Generate an output for the given application.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§