Enum endbasic_std::testutils::CapturedOut [−][src]
pub enum CapturedOut {
Show 16 variants
Clear(ClearType),
Color(Option<u8>, Option<u8>),
EnterAlt,
HideCursor,
LeaveAlt,
Locate(CharsXY),
MoveWithinLine(i16),
Print(String),
ShowCursor,
Write(Vec<u8>),
DrawLine(PixelsXY, PixelsXY),
DrawPixel(PixelsXY),
DrawRect(PixelsXY, PixelsXY),
DrawRectFilled(PixelsXY, PixelsXY),
SyncNow,
SetSync(bool),
}Expand description
A captured command or messages sent to the mock console.
Variants
Clear(ClearType)Represents a call to Console::clear.
Tuple Fields of Clear
0: ClearTypeRepresents a call to Console::color.
Represents a call to Console::enter_alt.
Represents a call to Console::hide_cursor.
Represents a call to Console::leave_alt.
Locate(CharsXY)Represents a call to Console::locate.
Tuple Fields of Locate
0: CharsXYMoveWithinLine(i16)Represents a call to Console::move_within_line.
Tuple Fields of MoveWithinLine
0: i16Print(String)Represents a call to Console::print.
Tuple Fields of Print
0: StringRepresents a call to Console::show_cursor.
Represents a call to Console::write.
Represents a call to Console::draw_line.
DrawPixel(PixelsXY)Represents a call to Console::draw_pixel.
Tuple Fields of DrawPixel
0: PixelsXYRepresents a call to Console::draw_rect.
Represents a call to Console::draw_rect_filled.
Represents a call to Console::sync_now.
SetSync(bool)Represents a call to Console::set_sync.
Tuple Fields of SetSync
0: boolTrait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CapturedOut
impl Send for CapturedOut
impl Sync for CapturedOut
impl Unpin for CapturedOut
impl UnwindSafe for CapturedOut
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more