Enum endbasic_std::console::ClearType
source · [−]pub enum ClearType {
All,
CurrentLine,
PreviousChar,
UntilNewLine,
}Expand description
Indicates what part of the console to clear on a Console::clear() call.
Variants
All
Clears the whole console and moves the cursor to the top left corner.
CurrentLine
Clears only the current line without moving the cursor.
PreviousChar
Clears the previous character.
UntilNewLine
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.
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