Skip to main content

Crate rusteal_codegen

Crate rusteal_codegen 

Source

Modules§

config
context
cpp_gen
defaults
filter
naming
rust_gen
schema
type_map

Functions§

generate_library
Generate one library’s bindings crate and C++ wrappers from the reflection JSON in uht_input.
run_generate
Generate the game’s library: the bindings crate in Rust/bindings and the C++ wrappers compiled into the Rusteal plugin.
run_generate_plugin
Generate a Rusteal plugin’s library: the bindings crate in the plugin’s Rust/bindings and the C++ wrappers compiled into the plugin’s module, from the project’s reflection JSON.