Skip to main content

Module backend

Module backend 

Source
Expand description

Language-agnostic code generation backend trait.

Defines the CodegenBackend trait that each code generator backend must implement. The TypeScript backend wraps the existing ts_codegen emitters; additional backends (e.g., Python, Rust client stubs) can implement the trait independently.

Traits§

CodegenBackend
Backend trait for multi-language code generation from Cap’n Proto schemas.