Class RustGenerator
java.lang.Object
uk.co.real_logic.sbe.generation.rust.RustGenerator
- All Implemented Interfaces:
CodeGenerator
Generate codecs for the Rust programming language.
-
Constructor Summary
ConstructorsConstructorDescriptionRustGenerator(Ir ir, String crateVersion, OutputManager outputManager) Create a new Rust languageCodeGenerator. -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate()Generate the complete set of types and messages for a schema.
-
Constructor Details
-
RustGenerator
Create a new Rust languageCodeGenerator.- Parameters:
ir- for the messages and types.crateVersion- for the generated crate.outputManager- for generating the codecs to.
-
-
Method Details
-
generate
Description copied from interface:CodeGeneratorGenerate the complete set of types and messages for a schema.- Specified by:
generatein interfaceCodeGenerator- Throws:
IOException- if an error is encountered when writing the output.
-