pub trait ArgsInfo {
// Required method
fn get_args_info() -> CommandInfoWithArgs;
// Provided method
fn get_subcommands() -> Vec<SubCommandInfo> ⓘ { ... }
}Expand description
Structured information about the command line arguments.
Required Methods§
Sourcefn get_args_info() -> CommandInfoWithArgs
fn get_args_info() -> CommandInfoWithArgs
Returns the argument info.
Provided Methods§
Sourcefn get_subcommands() -> Vec<SubCommandInfo> ⓘ
fn get_subcommands() -> Vec<SubCommandInfo> ⓘ
Returns the list of subcommands
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".