Trait Colors

Source
pub trait Colors {
    type Color;

    // Required methods
    fn get_color(&self) -> Self::Color;
    fn reset_colors(&mut self);
    fn set_color(&mut self, name: &str, color: &Self::Color);
    fn get_color_names(&self) -> String;
    fn get_synonyms(&self) -> String;
}

Required Associated Types§

Required Methods§

Source

fn get_color(&self) -> Self::Color

Source

fn reset_colors(&mut self)

Source

fn set_color(&mut self, name: &str, color: &Self::Color)

Source

fn get_color_names(&self) -> String

Source

fn get_synonyms(&self) -> String

Implementors§