pub trait Generator {
    fn generate(&mut self, module_request_set: &ModuleRequestSet) -> Result;

    fn chain<G>(self, next: G) -> ChainedGenerator<Self, G>
    where
        Self: Sized
, { ... } }
Expand description

A code generator

Required Methods

Generate one or more files based on the input request

Provided Methods

Chain multiple generators together, returning their composite output

Implementations on Foreign Types

Implementors