pub struct Opts {
Show 15 fields pub rust_input_path: String, pub dart_output_path: String, pub dart_decl_output_path: Option<String>, pub c_output_path: Vec<String>, pub rust_crate_dir: String, pub rust_output_path: String, pub class_name: String, pub dart_format_line_length: i32, pub skip_add_mod_to_lib: bool, pub llvm_path: Vec<String>, pub llvm_compiler_opts: String, pub manifest_path: String, pub dart_root: Option<String>, pub build_runner: bool, pub block_index: BlockIndex,
}

Fields

rust_input_path: Stringdart_output_path: Stringdart_decl_output_path: Option<String>c_output_path: Vec<String>rust_crate_dir: Stringrust_output_path: Stringclass_name: Stringdart_format_line_length: i32skip_add_mod_to_lib: boolllvm_path: Vec<String>llvm_compiler_opts: Stringmanifest_path: Stringdart_root: Option<String>build_runner: boolblock_index: BlockIndex

Implementations

Returns None if the path terminates in “..”, or not utf8.

Trait Implementations

Formats the value using the given formatter. 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

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.