[][src]Enum terminal::Clear

pub enum Clear {
    All,
    FromCursorDown,
    FromCursorUp,
    CurrentLine,
    UntilNewLine,
}

Different ways to clear the terminal buffer.

Variants

All

All cells.

FromCursorDown

All cells from the cursor position downwards.

FromCursorUp

All cells from the cursor position upwards.

CurrentLine

All cells at the cursor row.

UntilNewLine

All cells from the cursor position until the new line.

Trait Implementations

impl Clone for Clear[src]

impl Copy for Clear[src]

impl Debug for Clear[src]

impl Eq for Clear[src]

impl From<Clear> for ClearType[src]

impl Hash for Clear[src]

impl Ord for Clear[src]

impl PartialEq<Clear> for Clear[src]

impl PartialOrd<Clear> for Clear[src]

impl StructuralEq for Clear[src]

impl StructuralPartialEq for Clear[src]

Auto Trait Implementations

impl RefUnwindSafe for Clear

impl Send for Clear

impl Sync for Clear

impl Unpin for Clear

impl UnwindSafe for Clear

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.