pub enum ClearKind {
All,
AfterCursor,
BeforeCursor,
CurrentLine,
UntilNewLine,
}Expand description
The region a clear erases.
Variants§
All
The whole visible screen.
AfterCursor
From the cursor through the end of the screen.
BeforeCursor
From the start of the screen through the cursor.
CurrentLine
The cursor’s whole line.
UntilNewLine
From the cursor through the end of its line.
Trait Implementations§
impl Copy for ClearKind
impl Eq for ClearKind
impl StructuralPartialEq for ClearKind
Auto Trait Implementations§
impl Forget for ClearKind
impl Freeze for ClearKind
impl Move for ClearKind
impl RefUnwindSafe for ClearKind
impl Send for ClearKind
impl Sync for ClearKind
impl Unpin for ClearKind
impl UnsafeUnpin for ClearKind
impl UnwindSafe for ClearKind
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