pub enum BackgroundColors {
Show 17 variants
Black(&'static str),
Red(&'static str),
Green(&'static str),
Yellow(&'static str),
Blue(&'static str),
Magenta(&'static str),
Cyan(&'static str),
White(&'static str),
Default(&'static str),
BrightBlack(&'static str),
BrightRed(&'static str),
BrightGreen(&'static str),
BrightYellow(&'static str),
BrightBlue(&'static str),
BrightMagenta(&'static str),
BrightCyan(&'static str),
BrightWhite(&'static str),
}Variants§
Black(&'static str)
Red(&'static str)
Green(&'static str)
Yellow(&'static str)
Blue(&'static str)
Magenta(&'static str)
Cyan(&'static str)
White(&'static str)
Default(&'static str)
BrightBlack(&'static str)
BrightRed(&'static str)
BrightGreen(&'static str)
BrightYellow(&'static str)
BrightBlue(&'static str)
BrightMagenta(&'static str)
BrightCyan(&'static str)
BrightWhite(&'static str)
Implementations§
Source§impl BackgroundColors
impl BackgroundColors
pub fn black() -> Self
pub fn red() -> Self
pub fn green() -> Self
pub fn yellow() -> Self
pub fn blue() -> Self
pub fn magenta() -> Self
pub fn cyan() -> Self
pub fn white() -> Self
pub fn default() -> Self
pub fn bright_black() -> Self
pub fn bright_red() -> Self
pub fn bright_green() -> Self
pub fn bright_yellow() -> Self
pub fn bright_blue() -> Self
pub fn bright_magenta() -> Self
pub fn bright_cyan() -> Self
pub fn bright_white() -> Self
Trait Implementations§
Source§impl Add for BackgroundColors
impl Add for BackgroundColors
Source§impl Add<BackgroundColors> for String
impl Add<BackgroundColors> for String
Source§impl Add<BackgroundColors> for FontMode
impl Add<BackgroundColors> for FontMode
Source§impl Add<BackgroundColors> for ForegroundColors
impl Add<BackgroundColors> for ForegroundColors
Source§impl Add<FontMode> for BackgroundColors
impl Add<FontMode> for BackgroundColors
Source§impl Add<ForegroundColors> for BackgroundColors
impl Add<ForegroundColors> for BackgroundColors
Source§impl Add<String> for BackgroundColors
impl Add<String> for BackgroundColors
Auto Trait Implementations§
impl Freeze for BackgroundColors
impl RefUnwindSafe for BackgroundColors
impl Send for BackgroundColors
impl Sync for BackgroundColors
impl Unpin for BackgroundColors
impl UnsafeUnpin for BackgroundColors
impl UnwindSafe for BackgroundColors
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