pub struct RustToolchainInfo {
pub name: String,
pub rust_version: Version,
pub rustc_path: PathBuf,
pub cargo_path: PathBuf,
pub toolchain_path: Option<PathBuf>,
pub components: Vec<RustComponent>,
pub targets: Vec<String>,
pub is_default: bool,
pub source: RustInstallationSource,
}Fields§
§name: String§rust_version: Version§rustc_path: PathBuf§cargo_path: PathBuf§toolchain_path: Option<PathBuf>§components: Vec<RustComponent>§targets: Vec<String>§is_default: bool§source: RustInstallationSourceTrait Implementations§
Source§impl Clone for RustToolchainInfo
impl Clone for RustToolchainInfo
Source§fn clone(&self) -> RustToolchainInfo
fn clone(&self) -> RustToolchainInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RustToolchainInfo
impl RefUnwindSafe for RustToolchainInfo
impl Send for RustToolchainInfo
impl Sync for RustToolchainInfo
impl Unpin for RustToolchainInfo
impl UnsafeUnpin for RustToolchainInfo
impl UnwindSafe for RustToolchainInfo
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