Struct protoc::ProtocLangOut [−][src]
pub struct ProtocLangOut { /* fields omitted */ }Expand description
protoc --lang_out=... ... command builder and spawner.
Examples
use protoc::ProtocLangOut; ProtocLangOut::new() .lang("go") .include("protos") .include("more-protos") .out_dir("generated-protos") .run() .unwrap();
Implementations
Set --plugin param. Not needed if plugin is in $PATH
Append multiple paths to -I args
Append a .proto file path to compile
Append multiple .proto file paths to compile
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProtocLangOutimpl Send for ProtocLangOutimpl Sync for ProtocLangOutimpl Unpin for ProtocLangOutimpl UnwindSafe for ProtocLangOut