pub struct Found<'a> {
pub installs: &'a [VsInstallation],
pub llvm: &'a [LlvmTool],
pub gcc: &'a [Gcc],
pub explicit_msvc: Option<&'a Path>,
}Expand description
What detection found.
Fields§
§installs: &'a [VsInstallation]Every Visual Studio installation.
llvm: &'a [LlvmTool]Every LLVM tool.
gcc: &'a [Gcc]Every GCC, searched only when GCC is wanted (toolchain.md, “MinGW
(GCC)”): empty otherwise.
explicit_msvc: Option<&'a Path>[toolchain.paths] msvc: the only installation to use, when written.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Found<'a>
impl<'a> Freeze for Found<'a>
impl<'a> Move for Found<'a>
impl<'a> RefUnwindSafe for Found<'a>
impl<'a> Send for Found<'a>
impl<'a> Sync for Found<'a>where
RawVecInner: Sync,
impl<'a> Unpin for Found<'a>
impl<'a> UnsafeUnpin for Found<'a>where
&'a [VsInstallation]: UnsafeUnpin,
&'a [LlvmTool]: UnsafeUnpin,
&'a [Gcc]: UnsafeUnpin,
&'a Path: UnsafeUnpin,
impl<'a> UnwindSafe for Found<'a>where
&'a [VsInstallation]: UnwindSafe,
&'a [LlvmTool]: UnwindSafe,
&'a [Gcc]: UnwindSafe,
&'a Path: 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