pub trait Names {
// Required method
fn contains(&self, word: &[u8]) -> bool;
}Expand description
The spellings of a subcommand: one name, or a name and its aliases.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".