pub trait SubCommand: FromArgs {
const COMMAND: &'static CommandInfo;
}
Expand description
A FromArgs
implementation that represents a single subcommand.
Required Associated Constants§
Sourceconst COMMAND: &'static CommandInfo
const COMMAND: &'static CommandInfo
Information about the subcommand.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.