pub trait Usage {
const NAME: &'static str;
const DESCRIPTION: Description<'static>;
const ITEMS: UsageItems<'static>;
}Expand description
Required Associated Constants§
Sourceconst DESCRIPTION: Description<'static>
const DESCRIPTION: Description<'static>
The top-level text description of the whole command.
Sourceconst ITEMS: UsageItems<'static>
const ITEMS: UsageItems<'static>
The items (parameters, subcommands, and so on) in this command.
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.