[][src]Enum alacritty_terminal::ansi::Attr

pub enum Attr {
    Reset,
    Bold,
    Dim,
    Italic,
    Underline,
    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.

Underline

Underline 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.

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 Debug for Attr[src]

impl Eq for Attr[src]

impl PartialEq<Attr> for Attr[src]

impl StructuralEq for Attr[src]

impl StructuralPartialEq for Attr[src]

Auto Trait Implementations

impl RefUnwindSafe for Attr

impl Send for Attr

impl Sync for Attr

impl Unpin for Attr

impl UnwindSafe for Attr

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, 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.