Module candid::codegen [−][src]
Provide code generation functions and types for generating code from a Candid file.
Each language will have its own module under this one, and a idl_to_${language}
function should be exported for simplicity.
The LanguageBinding is available to all and can be used to configure generation for languages that are unsupported.
Re-exports
pub use rust::idl_to_rust; |
Modules
rust | Language binding for generating Rust code from a Candid file. |
Traits
LanguageBinding |
Functions
generate_code | Generates code using the passed language binding. |