pub enum StyleCode {
Show 36 variants
black,
red,
green,
yellow,
blue,
magenta,
cyan,
white,
bright_black,
bright_red,
bright_green,
bright_yellow,
bright_blue,
bright_magenta,
bright_cyan,
bright_white,
bg_black,
bg_red,
bg_green,
bg_yellow,
bg_blue,
bg_magenta,
bg_cyan,
bg_white,
bg_bright_black,
bg_bright_red,
bg_bright_green,
bg_bright_yellow,
bg_bright_blue,
bg_bright_magenta,
bg_bright_cyan,
bg_bright_white,
bold,
italic,
underline,
strikethrough,
}Variants§
black
red
green
yellow
blue
magenta
cyan
white
bright_black
bright_red
bright_green
bright_yellow
bright_blue
bright_magenta
bright_cyan
bright_white
bg_black
bg_red
bg_green
bg_yellow
bg_blue
bg_magenta
bg_cyan
bg_white
bg_bright_black
bg_bright_red
bg_bright_green
bg_bright_yellow
bg_bright_blue
bg_bright_magenta
bg_bright_cyan
bg_bright_white
bold
italic
underline
strikethrough
Implementations§
Source§impl StyleCode
impl StyleCode
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 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
pub fn bg_black() -> Self
pub fn bg_red() -> Self
pub fn bg_green() -> Self
pub fn bg_yellow() -> Self
pub fn bg_blue() -> Self
pub fn bg_magenta() -> Self
pub fn bg_cyan() -> Self
pub fn bg_white() -> Self
pub fn bg_bright_black() -> Self
pub fn bg_bright_red() -> Self
pub fn bg_bright_green() -> Self
pub fn bg_bright_yellow() -> Self
pub fn bg_bright_blue() -> Self
pub fn bg_bright_magenta() -> Self
pub fn bg_bright_cyan() -> Self
pub fn bg_bright_white() -> Self
pub fn bold() -> Self
pub fn italic() -> Self
pub fn underline() -> Self
pub fn strikethrough() -> Self
Auto Trait Implementations§
impl Freeze for StyleCode
impl RefUnwindSafe for StyleCode
impl Send for StyleCode
impl Sync for StyleCode
impl Unpin for StyleCode
impl UnwindSafe for StyleCode
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