Struct capnpc::codegen::CodeGenerationCommand [−][src]
pub struct CodeGenerationCommand { /* fields omitted */ }
Expand description
An invocation of the capnpc-rust code generation plugin.
Implementations
Creates a new code generation command with default options.
Sets the output directory.
Sets the default parent module, indicating the scope in your crate where you will add the generated code.
This option can be overridden by the parentModule
annotation defined in rust.capnp
.
Auto Trait Implementations
impl RefUnwindSafe for CodeGenerationCommand
impl Send for CodeGenerationCommand
impl Sync for CodeGenerationCommand
impl Unpin for CodeGenerationCommand
impl UnwindSafe for CodeGenerationCommand