[][src]Enum ttv_chat::twitch::color::TwitchColor

#[non_exhaustive]pub enum TwitchColor {
    Blue,
    BlueViolet,
    CadetBlue,
    Chocolate,
    Coral,
    DodgerBlue,
    Firebrick,
    GoldenRod,
    Green,
    HotPink,
    OrangeRed,
    Red,
    SeaGreen,
    SpringGreen,
    YellowGreen,
    Turbo,
}

Named Twitch colors

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Blue

RGB (hex): #0000FF

BlueViolet

RGB (hex): #8A2BE2

CadetBlue

RGB (hex): #5F9EA0

Chocolate

RGB (hex): #D2691E

Coral

RGB (hex): #FF7F50

DodgerBlue

RGB (hex): #1E90FF

Firebrick

RGB (hex): #B22222

GoldenRod

RGB (hex): #DAA520

Green

RGB (hex): #008000

HotPink

RGB (hex): #FF69B4

OrangeRed

RGB (hex): #FF4500

Red

RGB (hex): #FF0000

SeaGreen

RGB (hex): #2E8B57

SpringGreen

RGB (hex): #00FF7F

YellowGreen

RGB (hex): #ADFF2F

Turbo

Turbo colors are custom user-selected colors

Trait Implementations

impl Clone for TwitchColor[src]

impl Copy for TwitchColor[src]

impl Debug for TwitchColor[src]

impl Eq for TwitchColor[src]

impl From<RGB> for TwitchColor[src]

impl From<TwitchColor> for RGB[src]

impl Hash for TwitchColor[src]

impl Ord for TwitchColor[src]

impl PartialEq<TwitchColor> for TwitchColor[src]

impl PartialOrd<TwitchColor> for TwitchColor[src]

impl StructuralEq for TwitchColor[src]

impl StructuralPartialEq for TwitchColor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.