pub enum ClearRegion {
Screen,
ScreenAndScrollback,
BeforeCursor,
AfterCursor,
Line,
AfterCursorInLine,
}Expand description
A logical region of the terminal buffer to clear.
Variants§
Trait Implementations§
Source§impl Clone for ClearRegion
impl Clone for ClearRegion
Source§fn clone(&self) -> ClearRegion
fn clone(&self) -> ClearRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClearRegion
impl Debug for ClearRegion
Source§impl Hash for ClearRegion
impl Hash for ClearRegion
Source§impl PartialEq for ClearRegion
impl PartialEq for ClearRegion
Source§fn eq(&self, other: &ClearRegion) -> bool
fn eq(&self, other: &ClearRegion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClearRegion
impl Eq for ClearRegion
impl StructuralPartialEq for ClearRegion
Auto Trait Implementations§
impl Freeze for ClearRegion
impl RefUnwindSafe for ClearRegion
impl Send for ClearRegion
impl Sync for ClearRegion
impl Unpin for ClearRegion
impl UnsafeUnpin for ClearRegion
impl UnwindSafe for ClearRegion
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