pub struct CommandLine {
pub repo: PathBuf,
pub kind: HumanToolKind,
pub program: OsString,
pub args: Vec<String>,
pub cwd: PathBuf,
}Expand description
What a registered tool runs: the repository, resolved program, argv and working directory.
Fields§
§repo: PathBuf§kind: HumanToolKind§program: OsString§args: Vec<String>§cwd: PathBufTrait Implementations§
Source§impl Clone for CommandLine
impl Clone for CommandLine
Source§impl Debug for CommandLine
impl Debug for CommandLine
impl Eq for CommandLine
Source§impl PartialEq for CommandLine
impl PartialEq for CommandLine
impl StructuralPartialEq for CommandLine
Auto Trait Implementations§
impl Freeze for CommandLine
impl RefUnwindSafe for CommandLine
impl Send for CommandLine
impl Sync for CommandLine
impl Unpin for CommandLine
impl UnsafeUnpin for CommandLine
impl UnwindSafe for CommandLine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.