Struct protoc_rust::Codegen [−][src]
pub struct Codegen { /* fields omitted */ }
Expand description
Protoc --rust_out...
args
Implementations
Append multiple paths to -I
args
Append a .proto
file path to compile
Append multiple .proto
file paths to compile
Specify protoc
command path to be used when invoking code generation.
Examples
use protoc_rust::Codegen; Codegen::new() .protoc_path(protoc_bin_vendored::protoc_bin_path().unwrap()) // ... .run() .unwrap();
Set options to customize code generation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Codegen
impl UnwindSafe for Codegen