pub enum AnsiSequence {
Show 49 variants Escape, CursorPos(u32u32), CursorUp(u32), CursorDown(u32), CursorForward(u32), CursorBackward(u32), CursorSave, CursorRestore, EraseDisplay, EraseLine, SetGraphicsMode(Vec<u8, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>), SetMode(u8), ResetMode(u8), HideCursor, ShowCursor, CursorToApp, SetNewLineMode, SetCol132, SetSmoothScroll, SetReverseVideo, SetOriginRelative, SetAutoWrap, SetAutoRepeat, SetInterlacing, SetLineFeedMode, SetCursorKeyToCursor, SetVT52, SetCol80, SetJumpScrolling, SetNormalVideo, SetOriginAbsolute, ResetAutoWrap, ResetAutoRepeat, ResetInterlacing, SetAlternateKeypad, SetNumericKeypad, SetUKG0, SetUKG1, SetUSG0, SetUSG1, SetG0SpecialChars, SetG1SpecialChars, SetG0AlternateChar, SetG1AlternateChar, SetG0AltAndSpecialGraph, SetG1AltAndSpecialGraph, SetSingleShift2, SetSingleShift3, SetTopAndBottom(u32u32),
}
Expand description

The following are the implemented ANSI escape sequences. More to be added.

Variants

Escape

CursorPos(u32u32)

CursorUp(u32)

CursorDown(u32)

CursorForward(u32)

CursorBackward(u32)

CursorSave

CursorRestore

EraseDisplay

EraseLine

SetGraphicsMode(Vec<u8, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>)

SetMode(u8)

ResetMode(u8)

HideCursor

ShowCursor

CursorToApp

SetNewLineMode

SetCol132

SetSmoothScroll

SetReverseVideo

SetOriginRelative

SetAutoWrap

SetAutoRepeat

SetInterlacing

SetLineFeedMode

SetCursorKeyToCursor

SetVT52

SetCol80

SetJumpScrolling

SetNormalVideo

SetOriginAbsolute

ResetAutoWrap

ResetAutoRepeat

ResetInterlacing

SetAlternateKeypad

SetNumericKeypad

SetUKG0

SetUKG1

SetUSG0

SetUSG1

SetG0SpecialChars

SetG1SpecialChars

SetG0AlternateChar

SetG1AlternateChar

SetG0AltAndSpecialGraph

SetG1AltAndSpecialGraph

SetSingleShift2

SetSingleShift3

SetTopAndBottom(u32u32)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.