pub enum ClearMode {
Below,
Above,
All,
Saved,
}
Expand description
Mode for clearing terminal
Relative to cursor
Variants§
Below
Clear below cursor
Above
Clear above cursor
All
Clear entire terminal
Saved
Clear ‘saved’ lines (scrollback)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClearMode
impl RefUnwindSafe for ClearMode
impl Send for ClearMode
impl Sync for ClearMode
impl Unpin for ClearMode
impl UnwindSafe for ClearMode
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