[][src]Enum alacritty::ansi::Attr

pub enum Attr {
    Reset,
    Bold,
    Dim,
    Italic,
    Underscore,
    BlinkSlow,
    BlinkFast,
    Reverse,
    Hidden,
    Strike,
    CancelBold,
    CancelBoldDim,
    CancelItalic,
    CancelUnderline,
    CancelBlink,
    CancelReverse,
    CancelHidden,
    CancelStrike,
    Foreground(Color),
    Background(Color),
}

Terminal character attributes

Variants

Reset

Clear all special abilities

Bold

Bold text

Dim

Dim or secondary color

Italic

Italic text

Underscore

Underscore text

BlinkSlow

Blink cursor slowly

BlinkFast

Blink cursor fast

Reverse

Invert colors

Hidden

Do not display characters

Strike

Strikeout text

CancelBold

Cancel bold

CancelBoldDim

Cancel bold and dim

CancelItalic

Cancel italic

CancelUnderline

Cancel underline

CancelBlink

Cancel blink

CancelReverse

Cancel inversion

CancelHidden

Cancel text hiding

CancelStrike

Cancel strikeout

Foreground(Color)

Set indexed foreground color

Background(Color)

Set indexed background color

Trait Implementations

impl Eq for Attr[src]

impl PartialEq<Attr> for Attr[src]

impl Debug for Attr[src]

Auto Trait Implementations

impl Send for Attr

impl Sync for Attr

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Erased for T[src]