pub enum ControlType {
Show 16 variants
Bell,
CarriageReturn,
Home,
Clear,
ShowCursor,
HideCursor,
EnableAltScreen,
DisableAltScreen,
CursorUp,
CursorDown,
CursorForward,
CursorBackward,
CursorMoveToColumn,
CursorMoveTo,
EraseInLine,
SetWindowTitle,
}Expand description
Non-printable control codes (equivalent to Rich’s ControlType).
Variants§
Bell
CarriageReturn
Home
Clear
ShowCursor
HideCursor
EnableAltScreen
DisableAltScreen
CursorUp
CursorDown
CursorForward
CursorBackward
CursorMoveToColumn
CursorMoveTo
EraseInLine
SetWindowTitle
Implementations§
Trait Implementations§
Source§impl Clone for ControlType
impl Clone for ControlType
Source§fn clone(&self) -> ControlType
fn clone(&self) -> ControlType
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 ControlType
impl Debug for ControlType
Source§impl Hash for ControlType
impl Hash for ControlType
Source§impl PartialEq for ControlType
impl PartialEq for ControlType
Source§fn eq(&self, other: &ControlType) -> bool
fn eq(&self, other: &ControlType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ControlType
impl Eq for ControlType
impl StructuralPartialEq for ControlType
Auto Trait Implementations§
impl Freeze for ControlType
impl RefUnwindSafe for ControlType
impl Send for ControlType
impl Sync for ControlType
impl Unpin for ControlType
impl UnsafeUnpin for ControlType
impl UnwindSafe for ControlType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.