ai_descriptor

Trait NameHistory

Source
pub trait NameHistory {
    // Required methods
    fn add_name_to_history(&mut self, name: &str);
    fn name_history(&self) -> Vec<Cow<'_, str>>;
}
Expand description

Provides a history of names an item has had.

Required Methods§

Source

fn add_name_to_history(&mut self, name: &str)

Adds a name to the history.

Source

fn name_history(&self) -> Vec<Cow<'_, str>>

Returns the history of names.

Implementors§