pub struct BuildCompiler {
pub executable: PathBuf,
pub default_flags: Vec<String>,
pub env: HashMap<String, String>,
}Expand description
Represents a compiler invocation configuration.
Fields§
§executable: PathBufPath to the compiler executable.
default_flags: Vec<String>Default flags.
env: HashMap<String, String>Environment variables to set.
Implementations§
Source§impl BuildCompiler
impl BuildCompiler
Trait Implementations§
Source§impl Clone for BuildCompiler
impl Clone for BuildCompiler
Source§fn clone(&self) -> BuildCompiler
fn clone(&self) -> BuildCompiler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuildCompiler
impl RefUnwindSafe for BuildCompiler
impl Send for BuildCompiler
impl Sync for BuildCompiler
impl Unpin for BuildCompiler
impl UnsafeUnpin for BuildCompiler
impl UnwindSafe for BuildCompiler
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