pub trait HelpMetadata {
// Required methods
fn metadata(&self) -> &ModelMetadata;
fn full_name(&self) -> String;
// Provided methods
fn name(&self) -> &str { ... }
fn file_path(&self) -> String { ... }
fn containing_dir(&self) -> String { ... }
fn exec_path(&self) -> String { ... }
fn description(&self) -> String { ... }
}Required Methods§
Provided Methods§
fn name(&self) -> &str
fn file_path(&self) -> String
fn containing_dir(&self) -> String
fn exec_path(&self) -> String
fn description(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".