Enum makeup::DisplayEraseMode
source · 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 copy 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§fn eq(&self, other: &DisplayEraseMode) -> bool
fn eq(&self, other: &DisplayEraseMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DisplayEraseMode
impl PartialOrd for DisplayEraseMode
source§fn partial_cmp(&self, other: &DisplayEraseMode) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayEraseMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DisplayEraseMode
impl StructuralEq for DisplayEraseMode
impl StructuralPartialEq for DisplayEraseMode
Auto Trait Implementations§
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