pub trait SingularPlural { // Required methods fn singular(&self) -> &str; fn plural(&self) -> &str; }
Trait for defining singular and plural forms of words.
Gets the singular form of the word.
Gets the plural form of the word.