pub enum ClearType {
All,
FromCursorDown,
FromCursorUp,
CurrentLine,
UntilNewLine,
}
Expand description
The different parts of the terminal that can be cleared at once.
Variants§
All
All cells.
FromCursorDown
All cells from the cursor position downwards.
FromCursorUp
All cells from the cursor position upwards.
CurrentLine
All cells at the cursor row.
UntilNewLine
All cells from the cursor position until the new line.
Trait Implementations§
impl Copy for ClearType
impl Eq for ClearType
impl StructuralPartialEq for ClearType
Auto Trait Implementations§
impl Freeze for ClearType
impl RefUnwindSafe for ClearType
impl Send for ClearType
impl Sync for ClearType
impl Unpin for ClearType
impl UnwindSafe for ClearType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more