pub enum DisplayEraseMode {
FromCursorToEnd,
FromCursorToStart,
All,
ScrollbackBuffer,
}Expand description
Erase part or all of the current display.
Variants§
FromCursorToEnd
Erase from the cursor to the end of the display.
FromCursorToStart
Erase from the cursor to the start of the display.
All
Erase the entire display.
ScrollbackBuffer
Erase the scrollback buffer.
Trait Implementations§
Source§impl Clone for DisplayEraseMode
impl Clone for DisplayEraseMode
Source§fn clone(&self) -> DisplayEraseMode
fn clone(&self) -> DisplayEraseMode
Returns a duplicate of the value. Read more
1.0.0 · 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 DisplayEraseMode
impl Debug for DisplayEraseMode
Source§impl Hash for DisplayEraseMode
impl Hash for DisplayEraseMode
Source§impl Ord for DisplayEraseMode
impl Ord for DisplayEraseMode
Source§fn cmp(&self, other: &DisplayEraseMode) -> Ordering
fn cmp(&self, other: &DisplayEraseMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DisplayEraseMode
impl PartialEq for DisplayEraseMode
Source§impl PartialOrd for DisplayEraseMode
impl PartialOrd for DisplayEraseMode
impl Eq for DisplayEraseMode
impl StructuralPartialEq for DisplayEraseMode
Auto Trait Implementations§
impl Freeze for DisplayEraseMode
impl RefUnwindSafe for DisplayEraseMode
impl Send for DisplayEraseMode
impl Sync for DisplayEraseMode
impl Unpin for DisplayEraseMode
impl UnwindSafe for DisplayEraseMode
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