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(PixelsXY, u16),
DrawCircleFilled(PixelsXY, u16),
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.
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(PixelsXY, u16)
Represents a call to Console::draw_circle.
DrawCircleFilled(PixelsXY, u16)
Represents a call to Console::draw_circle_filled.
DrawLine(PixelsXY, PixelsXY)
Represents a call to Console::draw_line.
DrawPixel(PixelsXY)
Represents a call to Console::draw_pixel.
DrawRect(PixelsXY, PixelsXY)
Represents a call to Console::draw_rect.
DrawRectFilled(PixelsXY, PixelsXY)
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§
Source§impl Clone for CapturedOut
impl Clone for CapturedOut
Source§fn clone(&self) -> CapturedOut
fn clone(&self) -> CapturedOut
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more