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>), }
Expand description
A captured command or messages sent to the mock console.
Variants
Clear(ClearType)
Represents a call to Console::clear
.
Represents 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(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
.
Represents a call to Console::show_cursor
.
Represents a call to Console::write
.
Trait 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.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V