Trait precis_tools::CodeGen[][src]

pub trait CodeGen {
    fn generate_code(&mut self, file: &mut File) -> Result<(), Error>;
}
Expand description

Trait implemented by all elements which are able to generate code.

Required methods

Writes the Rust code itself.

Arguments:
  • file - The output file

Implementors