[−][src]Enum winconsole::console::ConsoleColor
Represents supported console colors.
Variants
BlackThe color black; defaults to #000000.
DarkBlueThe color dark blue; defaults to #000080.
DarkGreenThe color dark green; defaults to #008000.
TealThe color teal; defaults to #008080.
DarkRedThe color dark red; defaults to #800000.
MagentaThe color magenta; defaults to #800080.
DarkYellowThe color dark yellow; defaults to #808000.
GrayThe color gray; defaults to #C0C0C0.
DarkGrayThe color dark gray; defaults to #808080.
BlueThe color blue; defaults to #0000FF.
GreenThe color green; defaults to #00FF00.
AquaThe color aqua; defaults to #00FFFF.
RedThe color red; defaults to #FF0000.
PinkThe color pink; defaults to #FF00FF.
YellowThe color yellow; defaults to #FFFF00.
WhiteThe color white; defaults to #FFFFFF.
Methods
impl ConsoleColor[src]
Trait Implementations
impl PartialEq<ConsoleColor> for ConsoleColor[src]
fn eq(&self, other: &ConsoleColor) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl From<u16> for ConsoleColor[src]
fn from(value: u16) -> ConsoleColor[src]
impl Clone for ConsoleColor[src]
fn clone(&self) -> ConsoleColor[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Into<u16> for ConsoleColor[src]
impl Copy for ConsoleColor[src]
impl Display for ConsoleColor[src]
impl Debug for ConsoleColor[src]
impl Serialize for ConsoleColor[src]
impl<'de> Deserialize<'de> for ConsoleColor[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ConsoleColor
impl Sync for ConsoleColor
Blanket Implementations
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,