Enum termusiclib::config::ColorTermusic
source · pub enum ColorTermusic {
Show 19 variants
Reset,
Foreground,
Background,
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
LightBlack,
LightRed,
LightGreen,
LightYellow,
LightBlue,
LightMagenta,
LightCyan,
LightWhite,
}Variants§
Reset
Foreground
Background
Black
Red
Green
Yellow
Blue
Magenta
Cyan
White
LightBlack
LightRed
LightGreen
LightYellow
LightBlue
LightMagenta
LightCyan
LightWhite
Implementations§
Trait Implementations§
source§impl Clone for ColorTermusic
impl Clone for ColorTermusic
source§fn clone(&self) -> ColorTermusic
fn clone(&self) -> ColorTermusic
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'de> Deserialize<'de> for ColorTermusic
impl<'de> Deserialize<'de> for ColorTermusic
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ColorTermusic> for &'static str
impl From<ColorTermusic> for &'static str
source§fn from(cc: ColorTermusic) -> Self
fn from(cc: ColorTermusic) -> Self
Converts to this type from the input type.
source§impl From<ColorTermusic> for String
impl From<ColorTermusic> for String
source§fn from(cc: ColorTermusic) -> Self
fn from(cc: ColorTermusic) -> Self
Converts to this type from the input type.
source§impl PartialEq<ColorTermusic> for ColorTermusic
impl PartialEq<ColorTermusic> for ColorTermusic
source§fn eq(&self, other: &ColorTermusic) -> bool
fn eq(&self, other: &ColorTermusic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ColorTermusic
impl Serialize for ColorTermusic
impl Copy for ColorTermusic
impl Eq for ColorTermusic
impl StructuralEq for ColorTermusic
impl StructuralPartialEq for ColorTermusic
Auto Trait Implementations§
impl RefUnwindSafe for ColorTermusic
impl Send for ColorTermusic
impl Sync for ColorTermusic
impl Unpin for ColorTermusic
impl UnwindSafe for ColorTermusic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.