Trait precis_tools::CodeGen
source · pub trait CodeGen {
// Required method
fn generate_code(&mut self, file: &mut File) -> Result<(), Error>;
}
Expand description
Trait implemented by all elements which are able to generate code.
pub trait CodeGen {
// Required method
fn generate_code(&mut self, file: &mut File) -> Result<(), Error>;
}
Trait implemented by all elements which are able to generate code.