pub fn to_command(&self) -> Command {
        let mut cmd = Command::new(&self.path);
        cmd.args(&self.args);
        for &(ref k, ref v) in self.env.iter() {
            cmd.env(k, v);
        }
        return cmd
    }
/// Converts this compiler into a `Command` that's ready to be run.
///
/// This is useful for when the compiler needs to be executed and the
/// command returned will already have the initial arguments and environment
/// variables configured.
Converts this compiler into a `Command` that's ready to be run.
This is useful for when the compiler needs to be executed and the
command returned will already have the initial arguments and environment
variables configured.
Converts this compiler into a ` Command ` that ' s ready to be run . This is useful for when the compiler needs to be executed and the command returned will already have the initial arguments and environment variables configured .
pub fn to_command(&self) -> Command {
        let mut cmd = Command::new(&self.path);
        cmd.args(&self.args);
        for &(ref k, ref v) in self.env.iter() {
            cmd.env(k, v);
        }
        return cmd
    }
pub fn to_command ( & self ) -> Command { let mut cmd = Command :: new ( & self . path ) ; cmd . args ( & self . args ) ; for & ( ref k , ref v ) in self . env . iter ( ) { cmd . env ( k , v ) ; } return cmd }
Converts this compiler into a `Command` that's ready to be run.
Converts this compiler into a ` Command ` that ' s ready to be run .
&self
&self