Skip to main content

HelpMetadata

Trait HelpMetadata 

Source
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§

Source

fn name(&self) -> &str

Source

fn file_path(&self) -> String

Source

fn containing_dir(&self) -> String

Source

fn exec_path(&self) -> String

Source

fn description(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§