[−][src]Enum winconsole::console::ConsoleColor
Represents supported console colors.
Variants
Black
The color black; defaults to #000000.
DarkBlue
The color dark blue; defaults to #000080.
DarkGreen
The color dark green; defaults to #008000.
Teal
The color teal; defaults to #008080.
DarkRed
The color dark red; defaults to #800000.
Magenta
The color magenta; defaults to #800080.
DarkYellow
The color dark yellow; defaults to #808000.
Gray
The color gray; defaults to #C0C0C0.
DarkGray
The color dark gray; defaults to #808080.
Blue
The color blue; defaults to #0000FF.
Green
The color green; defaults to #00FF00.
Aqua
The color aqua; defaults to #00FFFF.
Red
The color red; defaults to #FF0000.
Pink
The color pink; defaults to #FF00FF.
Yellow
The color yellow; defaults to #FFFF00.
White
The 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) -> bool
1.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>,