pub enum CapturedOut {
Show 18 variants Clear(ClearType), SetColor(Option<u8>, Option<u8>), EnterAlt, HideCursor, LeaveAlt, Locate(CharsXY), MoveWithinLine(i16), Print(String), ShowCursor, Write(String), DrawCircle(PixelsXYu16), DrawCircleFilled(PixelsXYu16), DrawLine(PixelsXYPixelsXY), DrawPixel(PixelsXY), DrawRect(PixelsXYPixelsXY), DrawRectFilled(PixelsXYPixelsXY), SyncNow, SetSync(bool),
}
Expand description

A captured command or messages sent to the mock console.

Variants§

§

Clear(ClearType)

Represents a call to Console::clear.

§

SetColor(Option<u8>, Option<u8>)

Represents a call to Console::set_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(CharsXY)

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(String)

Represents a call to Console::write.

§

DrawCircle(PixelsXYu16)

Represents a call to Console::draw_circle.

§

DrawCircleFilled(PixelsXYu16)

Represents a call to Console::draw_circle_filled.

§

DrawLine(PixelsXYPixelsXY)

Represents a call to Console::draw_line.

§

DrawPixel(PixelsXY)

Represents a call to Console::draw_pixel.

§

DrawRect(PixelsXYPixelsXY)

Represents a call to Console::draw_rect.

§

DrawRectFilled(PixelsXYPixelsXY)

Represents a call to Console::draw_rect_filled.

§

SyncNow

Represents a call to Console::sync_now.

§

SetSync(bool)

Represents a call to Console::set_sync.

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
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

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.

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