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 object instead
Expand description
Arguments for pure rust codegen invocation.
Fieldsยง
ยงout_dir: &'a str
๐Deprecated since 2.14: Use Codegen object instead
โlang_out= param
includes: &'a [&'a str]
๐Deprecated since 2.14: Use Codegen object instead
-I args
input: &'a [&'a str]
๐Deprecated since 2.14: Use Codegen object instead
List of .proto files to compile
customize: Customize
๐Deprecated since 2.14: Use Codegen object instead
Customize code generation
Trait Implementationsยง
Auto Trait Implementationsยง
impl<'a> Freeze for Args<'a>
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ยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more