pub struct VsInstallation {
pub path: PathBuf,
pub prerelease: bool,
pub complete: bool,
pub toolsets: Vec<MsvcToolset>,
pub unusable_toolsets: Vec<PathBuf>,
pub default_toolset: Option<String>,
}Expand description
One Visual Studio or Build Tools installation with the C++ x64 tools.
Fields§
§path: PathBufThe installation directory (vswhere’s installationPath).
prerelease: boolWhether this is a preview. Detected, but never chosen by selection.
complete: boolWhether vswhere reports it complete and launchable. An incomplete one (an error in setup, or a reboot pending) is detected, but never chosen by selection.
toolsets: Vec<MsvcToolset>The usable MSVC toolsets it contains, newest cl.exe first.
unusable_toolsets: Vec<PathBuf>Toolset directories whose cl.exe could not tell its version; left out
of toolsets so that one broken toolset does not hide the others.
default_toolset: Option<String>The toolset directory name Visual Studio marks as its default, if it
says. Not checked against toolsets: a stale file can name one that
is not there.
Trait Implementations§
Source§impl Clone for VsInstallation
impl Clone for VsInstallation
Source§impl Debug for VsInstallation
impl Debug for VsInstallation
impl Eq for VsInstallation
Source§impl PartialEq for VsInstallation
impl PartialEq for VsInstallation
impl StructuralPartialEq for VsInstallation
Auto Trait Implementations§
impl Forget for VsInstallation
impl Freeze for VsInstallationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<MsvcToolset>: Freeze,
PhantomData<PathBuf>: Freeze,
impl Move for VsInstallation
impl RefUnwindSafe for VsInstallation
impl Send for VsInstallationwhere
RawVecInner: Send,
impl Sync for VsInstallationwhere
RawVecInner: Sync,
impl Unpin for VsInstallation
impl UnsafeUnpin for VsInstallationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MsvcToolset>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
impl UnwindSafe for VsInstallationwhere
RawVecInner: UnwindSafe,
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