Trait SubCommand

Source
pub trait SubCommand: SubCommandGroup { }
Expand description

A sub-command which can be nested inside of a Command or SubCommandGroup.

This is a sub-trait of SubCommandGroup, as a SubCommand can be used anywhere a SubCommandGroup can.

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§