pub struct Tool {
pub name: &'static str,
pub command: &'static str,
pub version_args: &'static [&'static str],
pub install: &'static str,
pub purpose: &'static str,
}Expand description
One prerequisite tool: its user-facing name, the command that proves it, and the install link a refusal carries.
Fields§
§name: &'static strUser-facing name, e.g. “Rust toolchain”.
command: &'static strThe command probed on PATH.
version_args: &'static [&'static str]Arguments that make the command report its version and exit.
install: &'static strWhere to install it.
purpose: &'static strWhat Frame needs it for.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tool
impl RefUnwindSafe for Tool
impl Send for Tool
impl Sync for Tool
impl Unpin for Tool
impl UnsafeUnpin for Tool
impl UnwindSafe for Tool
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