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 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 InstalledToolchain
impl RefUnwindSafe for InstalledToolchain
impl Send for InstalledToolchain
impl Sync for InstalledToolchain
impl Unpin for InstalledToolchain
impl UnwindSafe for InstalledToolchain
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