pub enum Control {
BEL = 7,
ESC = 27,
DCS = 144,
SOS = 152,
SS2 = 142,
SS3 = 143,
CSI = 155,
ST = 156,
OSC = 157,
PM = 158,
APC = 159,
}
Expand description
Control codes that start or end ANSI escape sequences.
Variants§
BEL = 7
Bell (C0)
ESC = 27
Escape (C0)
DCS = 144
Device control string: ESC P
(C0) or 0x90 (C1)
SOS = 152
Start of String: ESC X
(C0) or 0x98 (C1)
SS2 = 142
Single Shift 2: ESC N
(C0) or 0x8e (C1)
SS3 = 143
Single Shift 3: ESC O
(C0) or 0x8f (C1)
CSI = 155
Control Sequence Introducer: ESC [
(C0) or 0x9b (C1)
ST = 156
String Terminator: ESC \\
(C0) or 0x9c (C1)
OSC = 157
Operating System Command: ESC ]
(C0) or 0x9d (C1)
PM = 158
Privacy Message: ESC ^
(C0) or 0x9e (C1)
APC = 159
Application Program Command: ESC _
(C0) or 0x9f (C1)
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnwindSafe for Control
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