pub trait HasDescription {
    // Required method
    fn description(&self) -> &'static str;
}
Expand description

A trait for types that have a description.

Required Methods§

source

fn description(&self) -> &'static str

Returns the description of the type.

Implementors§