[][src]Enum termwiz::escape::csi::SgrCode

pub enum SgrCode {
    Reset,
    IntensityBold,
    IntensityDim,
    ItalicOn,
    UnderlineOn,
    BlinkOn,
    RapidBlinkOn,
    InverseOn,
    InvisibleOn,
    StrikeThroughOn,
    DefaultFont,
    AltFont1,
    AltFont2,
    AltFont3,
    AltFont4,
    AltFont5,
    AltFont6,
    AltFont7,
    AltFont8,
    AltFont9,
    UnderlineDouble,
    NormalIntensity,
    ItalicOff,
    UnderlineOff,
    BlinkOff,
    InverseOff,
    InvisibleOff,
    StrikeThroughOff,
    ForegroundBlack,
    ForegroundRed,
    ForegroundGreen,
    ForegroundYellow,
    ForegroundBlue,
    ForegroundMagenta,
    ForegroundCyan,
    ForegroundWhite,
    ForegroundDefault,
    BackgroundBlack,
    BackgroundRed,
    BackgroundGreen,
    BackgroundYellow,
    BackgroundBlue,
    BackgroundMagenta,
    BackgroundCyan,
    BackgroundWhite,
    BackgroundDefault,
    ForegroundBrightBlack,
    ForegroundBrightRed,
    ForegroundBrightGreen,
    ForegroundBrightYellow,
    ForegroundBrightBlue,
    ForegroundBrightMagenta,
    ForegroundBrightCyan,
    ForegroundBrightWhite,
    BackgroundBrightBlack,
    BackgroundBrightRed,
    BackgroundBrightGreen,
    BackgroundBrightYellow,
    BackgroundBrightBlue,
    BackgroundBrightMagenta,
    BackgroundBrightCyan,
    BackgroundBrightWhite,
    ForegroundColor,
    BackgroundColor,
}

Variants

Reset
IntensityBold
IntensityDim
ItalicOn
UnderlineOn
BlinkOn

Blinks < 150 times per minute

RapidBlinkOn

Blinks > 150 times per minute

InverseOn
InvisibleOn
StrikeThroughOn
DefaultFont
AltFont1
AltFont2
AltFont3
AltFont4
AltFont5
AltFont6
AltFont7
AltFont8
AltFont9
UnderlineDouble
NormalIntensity
ItalicOff
UnderlineOff
BlinkOff
InverseOff
InvisibleOff
StrikeThroughOff
ForegroundBlack
ForegroundRed
ForegroundGreen
ForegroundYellow
ForegroundBlue
ForegroundMagenta
ForegroundCyan
ForegroundWhite
ForegroundDefault
BackgroundBlack
BackgroundRed
BackgroundGreen
BackgroundYellow
BackgroundBlue
BackgroundMagenta
BackgroundCyan
BackgroundWhite
BackgroundDefault
ForegroundBrightBlack
ForegroundBrightRed
ForegroundBrightGreen
ForegroundBrightYellow
ForegroundBrightBlue
ForegroundBrightMagenta
ForegroundBrightCyan
ForegroundBrightWhite
BackgroundBrightBlack
BackgroundBrightRed
BackgroundBrightGreen
BackgroundBrightYellow
BackgroundBrightBlue
BackgroundBrightMagenta
BackgroundBrightCyan
BackgroundBrightWhite
ForegroundColor

Maybe followed either either a 256 color palette index or a sequence describing a true color rgb value

BackgroundColor

Trait Implementations

impl Clone for SgrCode[src]

impl Debug for SgrCode[src]

impl Eq for SgrCode[src]

impl FromPrimitive for SgrCode[src]

impl PartialEq<SgrCode> for SgrCode[src]

impl StructuralEq for SgrCode[src]

impl StructuralPartialEq for SgrCode[src]

Auto Trait Implementations

impl RefUnwindSafe for SgrCode

impl Send for SgrCode

impl Sync for SgrCode

impl Unpin for SgrCode

impl UnwindSafe for SgrCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.