pub struct PendingMount {
pub run: String,
pub synopsis: Option<String>,
pub overrides_default: bool,
}Expand description
A Usage mount: its output is converted to a Clink matcher when this command path is
first completed. The generated matcher is cached for the current working directory.
Fields§
§run: StringCommand executed while completing to print a Usage spec.
synopsis: Option<String>Placeholder shown for the discovered commands, e.g. [TASK] [ARGS]….
overrides_default: boolAllow discovered root commands to outrank a declared default subcommand.
Trait Implementations§
Source§impl Clone for PendingMount
impl Clone for PendingMount
Source§impl Debug for PendingMount
impl Debug for PendingMount
Source§impl Default for PendingMount
impl Default for PendingMount
impl Eq for PendingMount
Source§impl PartialEq for PendingMount
impl PartialEq for PendingMount
impl StructuralPartialEq for PendingMount
Auto Trait Implementations§
impl Forget for PendingMount
impl Freeze for PendingMount
impl RefUnwindSafe for PendingMount
impl Send for PendingMount
impl Sync for PendingMount
impl Unpin for PendingMount
impl UnsafeUnpin for PendingMount
impl UnwindSafe for PendingMount
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