pub fn color<T>(color: T) -> std::result::Result<Color<'static>, T::Error>
where
    T: TryInto<crate::twitch::Color>,
{
    color.try_into().map(|color| Color {
        color,
        marker: std::marker::PhantomData,
    })
}
/// Change your username `color`.
// TODO documentation tests to show how you can use this with different types
Change your username `color`.
TODO documentation tests to show how you can use this with different types
Change your username ` color ` . TODO documentation tests to show how you can use this with different types
pub fn color<T>(color: T) -> std::result::Result<Color<'static>, T::Error>
where
    T: TryInto<crate::twitch::Color>,
{
    color.try_into().map(|color| Color {
        color,
        marker: std::marker::PhantomData,
    })
}
pub fn color < T > ( color : T ) -> std :: result :: Result < Color < ' static > , T :: Error > where T : TryInto < crate :: twitch :: Color > , { color . try_into ( ) . map ( | color | Color { color , marker : std :: marker :: PhantomData , } ) }
Change your username `color`.
Change your username ` color ` .
color
T
color
T