argh

Trait ArgsInfo

Source
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§

Source

fn get_args_info() -> CommandInfoWithArgs

Returns the argument info.

Provided Methods§

Source

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", so this trait is not object safe.

Implementors§