[−][src]Enum twitchchat::TwitchColor
These are the default Twitch colors
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(RGB)
Turbo colors are custom user-selected colors
Trait Implementations
impl Clone for Twitch
[src]
fn clone(&self) -> Twitch
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Twitch> for Twitch
[src]
impl Copy for Twitch
[src]
impl From<Twitch> for RGB
[src]
fn from(color: Twitch) -> Self
[src]
Tries to turn the TwitchColor
color into an RGB
If the color is, somehow, unknown, it'll use RGB::default
impl<'_> From<&'_ str> for Twitch
[src]
fn from(input: &str) -> Self
[src]
Tries to parse the twitch color name from a string, or as a #RRGGBB/RRGGBB string
view source to see valid strings
impl From<RGB> for Twitch
[src]
fn from(rgb: RGB) -> Self
[src]
Tries to turn the RGB Color into a Twitch Color
Defaults to a Turbo(RGB(0xFF,0xFF,0xFF))
impl Default for Twitch
[src]
impl Debug for Twitch
[src]
impl Display for Twitch
[src]
Auto Trait Implementations
impl Send for TwitchColor
impl Sync for TwitchColor
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,