Enum ansi_to_tui::AnsiCode [−][src]
#[repr(u8)] pub enum AnsiCode {}Show variants
Reset, Bold, Faint, Italic, Underline, SlowBlink, RapidBlink, Reverse, Conceal, CrossedOut, PrimaryFont, AlternateFont, AlternateFonts(u8), Fraktur, BoldOff, Normal, NotItalic, UnderlineOff, BlinkOff, InvertOff, Reveal, CrossedOutOff, ForegroundColor(AnsiColor), SetForegroundColor, DefaultForegroundColor, BackgroundColor(AnsiColor), SetBackgroundColor, DefaultBackgroundColor,
This enum stores most types of ansi escape sequences
You can turn an escape sequence to this enum variant using
from(u8) trait.
This doesn’t support all of them but does support most of them.
Variants
AlternateFonts(u8)
ForegroundColor(AnsiColor)
BackgroundColor(AnsiColor)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AnsiCode
impl RefUnwindSafe for AnsiCode
impl UnwindSafe for AnsiCode
impl UnwindSafe for AnsiCode