Enum endbasic_std::testutils::CapturedOut[][src]

pub enum CapturedOut {
    Clear(ClearType),
    Color(Option<u8>, Option<u8>),
    EnterAlt,
    HideCursor,
    LeaveAlt,
    Locate(Position),
    MoveWithinLine(i16),
    Print(String),
    ShowCursor,
    Write(Vec<u8>),
}

A captured command or messages sent to the mock console.

Variants

Clear(ClearType)

Represents a call to Console::clear.

Color(Option<u8>, Option<u8>)

Represents a call to Console::color.

EnterAlt

Represents a call to Console::enter_alt.

HideCursor

Represents a call to Console::hide_cursor.

LeaveAlt

Represents a call to Console::leave_alt.

Locate(Position)

Represents a call to Console::locate.

MoveWithinLine(i16)

Represents a call to Console::move_within_line.

Print(String)

Represents a call to Console::print.

ShowCursor

Represents a call to Console::show_cursor.

Write(Vec<u8>)

Represents a call to Console::write.

Trait Implementations

impl Clone for CapturedOut[src]

impl Debug for CapturedOut[src]

impl Eq for CapturedOut[src]

impl PartialEq<CapturedOut> for CapturedOut[src]

impl StructuralEq for CapturedOut[src]

impl StructuralPartialEq for CapturedOut[src]

Auto Trait Implementations

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,