Crate gdnative_bindings_generator[][src]

Internal API bindings generator for the godot-rust bindings.

Creating custom binding crates

It's possible to create custom binding crates without forking the repository by passing custom api.json data to Api::new(). The JSON data can be generated from Godot using the following command:

/path/to/godot --gdnative-generate-json-api /path/to/api.json

Please note that The generator is an internal dependency. As such, it is not covered by semver guarantees of the main gdnative crate. When using custom binding crates, care must be taken to ensure that the version of the generator matches the one specified in the Cargo.toml of the gdnative crate exactly, even for updates that are considered non-breaking in the gdnative crate.

Re-exports

pub use crate::api::*;
pub use crate::dependency::*;

Modules

api
dependency

Structs

BindingResult
GodotXMLDocs

Functions

generate_bindings
generate_imports

Type Definitions

GeneratorResult