pub struct CliCommandInfo {
pub name: &'static str,
pub args: &'static str,
pub description: &'static str,
}Expand description
CLI command entry emitted in cli_commands.
Describes one moss CLI subcommand.
Fields§
§name: &'static strSubcommand name (e.g. “build”).
args: &'static strArgument signature (e.g. “
description: &'static strOne-line description.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CliCommandInfo
impl RefUnwindSafe for CliCommandInfo
impl Send for CliCommandInfo
impl Sync for CliCommandInfo
impl Unpin for CliCommandInfo
impl UnsafeUnpin for CliCommandInfo
impl UnwindSafe for CliCommandInfo
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