pub enum DefaultColor {
Show 16 variants
Black,
DarkBlue,
DarkGreen,
DarkCyan,
DarkRed,
Purple,
Gold,
Gray,
DarkGray,
Blue,
BrightGreen,
Cyan,
Red,
Pink,
Yellow,
White,
}Variants§
Black
DarkBlue
DarkGreen
DarkCyan
DarkRed
Purple
Gold
Gray
DarkGray
Blue
BrightGreen
Cyan
Red
Pink
Yellow
White
Trait Implementations§
Source§impl Clone for DefaultColor
impl Clone for DefaultColor
Source§fn clone(&self) -> DefaultColor
fn clone(&self) -> DefaultColor
Returns a duplicate 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 Debug for DefaultColor
impl Debug for DefaultColor
Source§impl<'de> Deserialize<'de> for DefaultColor
impl<'de> Deserialize<'de> for DefaultColor
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<DefaultColor> for Color<'_>
impl From<DefaultColor> for Color<'_>
Source§fn from(default_color: DefaultColor) -> Self
fn from(default_color: DefaultColor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DefaultColor
impl PartialEq for DefaultColor
Source§impl Serialize for DefaultColor
impl Serialize for DefaultColor
impl Copy for DefaultColor
impl StructuralPartialEq for DefaultColor
Auto Trait Implementations§
impl Freeze for DefaultColor
impl RefUnwindSafe for DefaultColor
impl Send for DefaultColor
impl Sync for DefaultColor
impl Unpin for DefaultColor
impl UnwindSafe for DefaultColor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more