public class RustGenerator extends Object implements CodeGenerator
Constructor and Description |
---|
RustGenerator(Ir ir,
String crateVersion,
OutputManager outputManager)
Create a new Rust language
CodeGenerator . |
Modifier and Type | Method and Description |
---|---|
void |
generate()
Generate the complete set of types and messages for a schema.
|
public RustGenerator(Ir ir, String crateVersion, OutputManager outputManager)
CodeGenerator
.ir
- for the messages and types.crateVersion
- for the generated crate.outputManager
- for generating the codecs to.public void generate() throws IOException
CodeGenerator
generate
in interface CodeGenerator
IOException
- if an error is encountered when writing the output.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.