pub enum BGColor {
}Expand description
Variants§
Any
A generic color
Black
A black background color
Red
A red background color
Green
A green background color
Yellow
A yellow background color
Blue
A blue background color
Magenta
A magenta background color
Cyan
A cyan background color
White
A white background color
BlackBright
A bright black (gray) background color
RedBright
A bright red background color
GreenBright
A bright green background color
YellowBright
A bright yellow background color
BlueBright
A bright blue background color
MagentaBright
A bright magenta background color
CyanBright
A bright cyan background color
WhiteBright
A bright white background color
Ansi256(u8)
An 8-bit color from 0 to 255
RGB(u8, u8, u8)
A 24-bit RGB color, as specified by ISO-8613-3.
Implementations§
Trait Implementations§
Source§impl Ord for BGColor
impl Ord for BGColor
Source§impl PartialOrd for BGColor
impl PartialOrd for BGColor
impl Copy for BGColor
impl Eq for BGColor
impl StructuralPartialEq for BGColor
Auto Trait Implementations§
impl Freeze for BGColor
impl RefUnwindSafe for BGColor
impl Send for BGColor
impl Sync for BGColor
impl Unpin for BGColor
impl UnwindSafe for BGColor
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