pub trait DefaultName {
// Provided method
fn default_name() -> Option<&'static str> { ... }
}
Expand description
Default name for some type.
This name is used in the help message to indicate the type of an argument.
Provided Methods§
fn default_name() -> Option<&'static str>
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.