Enum endbasic_std::console::ClearType [−][src]
pub enum ClearType { All, CurrentLine, UntilNewLine, }
Expand description
Indicates what part of the console to clear on a Console::clear()
call.
Variants
Clears the whole console and moves the cursor to the top left corner.
Clears only the current line without moving the cursor.
Clears from the cursor position to the end of the line without moving the cursor.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClearType
impl UnwindSafe for ClearType
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