Struct Tool
pub struct Tool { /* private fields */ }
Tool found by find-msvc-tools
Implementations
impl Tool
fn to_command(&self) -> CommandConverts this compiler into a
Commandthat'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.
fn is_clang_cl(&self) -> boolCheck is the tool clang-cl related
fn path(&self) -> &PathGet path to the tool
fn env(&self) -> impl IntoIterator<Item = &(OsString, OsString)>Get environment variables for the tools
Trait Implementations
impl Clone for Tool
fn clone(&self) -> Self
impl Debug for Tool
fn fmt(&self, f: &mut Formatter<'_>) -> Result