#[non_exhaustive]pub struct ToolRow {
pub runs: Runs,
pub probe: Option<Probe>,
pub mac_app: Option<&'static str>,
pub winget: Option<&'static str>,
pub own_url: Option<&'static str>,
pub no_build: &'static [NoBuild],
}Expand description
A tool’s row of the setup’s table (Dependency::row).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.runs: RunsWhere it exists.
probe: Option<Probe>The command that proves it installed, when there is one worth trusting (wsl.exe ships
with Windows whether WSL is set up or not; UTM is an app; VMware’s utility a service). A
hypervisor has none here: its provider’s (crate::providers::hypervisor_probe) is the one
a setup and the provider’s detection both read, so they never disagree.
mac_app: Option<&'static str>The app bundle that proves it installed on macOS, also before its CLI is on PATH, once
whole (present). Looked for in crate::host::Devices::applications, by its name.
winget: Option<&'static str>Its winget package, when winget installs and removes it on Windows.
own_url: Option<&'static str>Where its user installs it themselves when the setup can’t (a Linux distribution without apt or dnf).
no_build: &'static [NoBuild]Where it runs, the CPUs its vendor ships no build for that a setup installs, each with the
vendor’s reason: refused there (Refusal::NoBuild), never offered.
Trait Implementations§
impl Copy for ToolRow
impl Eq for ToolRow
impl StructuralPartialEq for ToolRow
Auto Trait Implementations§
impl Forget for ToolRow
impl Freeze for ToolRow
impl Move for ToolRow
impl RefUnwindSafe for ToolRow
impl Send for ToolRow
impl Sync for ToolRow
impl Unpin for ToolRow
impl UnsafeUnpin for ToolRowwhere
&'static [HostOs]: UnsafeUnpin,
&'static str: UnsafeUnpin,
&'static [&'static str]: UnsafeUnpin,
&'static [NoBuild]: UnsafeUnpin,
impl UnwindSafe for ToolRowwhere
&'static [HostOs]: UnwindSafe,
&'static str: UnwindSafe,
&'static [&'static str]: UnwindSafe,
&'static [NoBuild]: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.