Expand description
The command (not params) string/s
Variants
Command(String)
Single command (not sub command) such as: “ls”. Any path prefix will be ignored while parsing.
SubCommand(Vec<String>)
Sub command value such as: vec![“cargo”.to_string(), “myplugin”.to_string()]. Any path prefix will be ignored while parsing for the first element only.
Trait Implementations
impl StructuralPartialEq for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more