pub struct InstalledToolchain {
pub path: PathBuf,
pub bin_path: PathBuf,
pub rustc_path: PathBuf,
pub cargo_path: PathBuf,
}
Expand description
Represents an installed toolchain on the filesystem.
Fields§
§path: PathBuf
Root directory of this toolchain.
bin_path: PathBuf
Path to executable binaries in this toolchain.
Suitable for inclusion on PATH
.
rustc_path: PathBuf
Path to rustc
executable.
cargo_path: PathBuf
Path to cargo
executable.
Trait Implementations§
source§impl Clone for InstalledToolchain
impl Clone for InstalledToolchain
source§fn clone(&self) -> InstalledToolchain
fn clone(&self) -> InstalledToolchain
Returns a copy 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 more