Trait dioxus_cli::builder::ExecWithRustFlagsSetter
source · pub trait ExecWithRustFlagsSetter {
// Required method
fn set_rust_flags(self, rust_flags: Option<String>) -> Self;
}
Expand description
This trait is only created for the convenient and concise way to set
RUSTFLAGS
environment variable for the subprocess::Exec
.
Required Methods§
fn set_rust_flags(self, rust_flags: Option<String>) -> Self
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl ExecWithRustFlagsSetter for Exec
impl ExecWithRustFlagsSetter for Exec
source§fn set_rust_flags(self, rust_flags: Option<String>) -> Self
fn set_rust_flags(self, rust_flags: Option<String>) -> Self
Sets (appends to, if already set) RUSTFLAGS
environment variable if
rust_flags
is not None
.