ThemeTo

Trait ThemeTo 

Source
pub trait ThemeTo: ThemeGen<T = String> {
    // Required method
    fn color_to(
        &self,
        text: &str,
        color: <Self as ThemeGen>::C,
    ) -> <Self as ThemeGen>::T;
}

Required Methods§

Source

fn color_to( &self, text: &str, color: <Self as ThemeGen>::C, ) -> <Self as ThemeGen>::T

Implementors§

Source§

impl<T: ThemeGen<T = String> + ?Sized> ThemeTo for T