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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.