Enum requestty_ui::backend::ClearType
source · [−]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 StructuralEq for ClearType
impl StructuralPartialEq for ClearType
Auto Trait Implementations
impl RefUnwindSafe for ClearType
impl Send for ClearType
impl Sync for ClearType
impl Unpin for ClearType
impl UnwindSafe for ClearType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more