pub struct RawOpts {
Show 18 fields pub rust_input: Vec<String>, pub dart_output: Vec<String>, pub dart_decl_output: Option<String>, pub c_output: Option<Vec<String>>, pub extra_c_output_path: Option<Vec<String>>, pub rust_crate_dir: Option<Vec<String>>, pub rust_output: Option<Vec<String>>, pub class_name: Option<Vec<String>>, pub dart_format_line_length: u32, pub skip_add_mod_to_lib: bool, pub llvm_path: Option<Vec<String>>, pub llvm_compiler_opts: Option<String>, pub dart_root: Option<Vec<String>>, pub no_build_runner: bool, pub verbose: bool, pub wasm: bool, pub inline_rust: bool, pub skip_deps_check: bool,
}

Fields§

§rust_input: Vec<String>

Path of input Rust code

§dart_output: Vec<String>

Path of output generated Dart code

§dart_decl_output: Option<String>

If provided, generated Dart declaration code to this separate file

§c_output: Option<Vec<String>>

Output path (including file name) of generated C header, each field corresponding to that of rust-input

§extra_c_output_path: Option<Vec<String>>

Extra output path (excluding file name) of generated C header

§rust_crate_dir: Option<Vec<String>>

Crate directory for your Rust project

§rust_output: Option<Vec<String>>

Output path of generated Rust code

§class_name: Option<Vec<String>>

Generated class name

§dart_format_line_length: u32

Line length for Dart formatting

§skip_add_mod_to_lib: bool

Skip automatically adding mod bridge_generated; to lib.rs

§llvm_path: Option<Vec<String>>

Path to the installed LLVM

§llvm_compiler_opts: Option<String>

LLVM compiler opts

§dart_root: Option<Vec<String>>

Path to root of Dart project, otherwise inferred from –dart-output

§no_build_runner: bool

Skip running build_runner even when codegen-required code is detected

§verbose: bool

Show debug messages.

§wasm: bool

Enable WASM module generation. Requires: –dart-decl-output

§inline_rust: bool

Inline declaration of Rust bridge modules

§skip_deps_check: bool

Skip dependencies check.

Trait Implementations§

Append to Command so it can instantiate Self. Read more
Append to Command so it can update self. Read more
Deprecated, replaced with CommandFactory::command
Deprecated, replaced with CommandFactory::command_for_update
Build a Command that can instantiate Self. Read more
Build a Command that can update self. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Assign values from ArgMatches to self.
Assign values from ArgMatches to self.
Parse from std::env::args_os(), exit on error
Parse from std::env::args_os(), return Err on error.
Parse from iterator, exit on error
Parse from iterator, return Err on error.
Update from iterator, exit on error
Update from iterator, return Err on error.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.