pub trait CliCommandsAlg {
type Commands;
// Required methods
fn cli_empty(&self) -> Self::Commands;
fn cli_merge(
&self,
left: Self::Commands,
right: Self::Commands,
) -> Self::Commands;
}Expand description
Describes construction and composition of command collections.
Merge keeps declaration order and repetitions; which repetition wins is the interpreter’s policy.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".