Struct protoc_rust::Args
source · [−]pub struct Args<'a> {
pub out_dir: &'a str,
pub includes: &'a [&'a str],
pub input: &'a [&'a str],
pub customize: Customize,
}
👎Deprecated since 2.14: Use Codegen instead
Expand description
Protoc --rust_out...
args
Fields
out_dir: &'a str
👎Deprecated since 2.14: Use Codegen instead
–lang_out= param
includes: &'a [&'a str]
👎Deprecated since 2.14: Use Codegen instead
-I args
input: &'a [&'a str]
👎Deprecated since 2.14: Use Codegen instead
List of .proto files to compile
customize: Customize
👎Deprecated since 2.14: Use Codegen instead
Customize code generation
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Args<'a>
impl<'a> Send for Args<'a>
impl<'a> Sync for Args<'a>
impl<'a> Unpin for Args<'a>
impl<'a> UnwindSafe for Args<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more