[−][src]Enum terminal_escapes::Sequence
Variants
Reset
Reset all terminal settings to default.
LineWrap(bool)
Enable/disable line wrapping.
FontDefault
Set default font.
FontAlternate
Set alternate font.
CursorAt(u32, u32)
Set the cursor position (row, column).
CursorMove(i32, i32)
Move the cursor position by the given delta (row, column).
(0, 0) is at the top left of the screen.
CursorSave
Save the cursor position.
CursorRestore
Resotre the saved cursor position.
CursorSaveAttributes
Save the cursor position and attributes.
CursorRestoreAttributes
Resotre the saved cursor position and attributes.
ScrollEnable(Option<(u32, u32)>)
Enable scrolling.
If None
is passed then scrolling is enabled for the whole screen.
If Some((start, end))
is passed then scrolling is enabled from row start
to end
.
Scroll(i32)
Scroll by the given number of rows. Positive rows means scrolling down, negative rows means scrolling up.
EraseEndOfLine
Erases from the current cursor position to the end of the current line.
EraseStartOfLine
Erases from the current cursor position to the start of the current line.
EraseLine
Erases the entire current line.
EraseDown
Erases the screen from the current line down to the bottom of the screen.
EraseUp
Erases the screen from the current line up to the top of the screen.
EraseScreen
Erases the screen with the background colour and moves the cursor to home.
SetAttributes(&'a [Attribute])
Sets display attributes.
Trait Implementations
impl<'a> Clone for Sequence<'a>
[src]
fn clone(&self) -> Sequence<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> PartialEq<Sequence<'a>> for Sequence<'a>
[src]
impl<'a> Copy for Sequence<'a>
[src]
impl<'a> Eq for Sequence<'a>
[src]
impl<'a> Display for Sequence<'a>
[src]
Auto Trait Implementations
impl<'a> Unpin for Sequence<'a>
impl<'a> Sync for Sequence<'a>
impl<'a> Send for Sequence<'a>
impl<'a> UnwindSafe for Sequence<'a>
impl<'a> RefUnwindSafe for Sequence<'a>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,