pub struct CliSpec {
pub command: &'static str,
}Expand description
The command line a package puts on PATH.
Fields§
§command: &'static strThe name typed in a terminal: sapphire-journal. It need not be the cargo binary’s
name. On macOS and Linux the command links to the running executable, whatever
vpk --mainExe named it; on Windows it is the console shim’s file name without
.exe, and the shim sits beside the GUI executable in current\.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliSpec
impl RefUnwindSafe for CliSpec
impl Send for CliSpec
impl Sync for CliSpec
impl Unpin for CliSpec
impl UnsafeUnpin for CliSpec
impl UnwindSafe for CliSpec
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