Type Definition amq_protocol_codegen::CodeGenerator [−][src]
type CodeGenerator = Handlebars;
Type alias to avoid making our users explicitely depend on an extra dependency
Trait Implementations
impl HandlebarsAMQPExtension for CodeGenerator[src]
impl HandlebarsAMQPExtension for CodeGeneratorfn register_amqp_helpers(self) -> CodeGenerator[src]
fn register_amqp_helpers(self) -> CodeGeneratorRegister the various standrad helpers we'll need for AMQP codegen
fn simple_codegen(
out_dir: &str,
target: &str,
template_name: &str,
template: &str,
var_name: &str
)[src]
fn simple_codegen(
out_dir: &str,
target: &str,
template_name: &str,
template: &str,
var_name: &str
)Generate code using the standard representation of specs and the given template, using the given name for the variable holding the protocol definition. Read more