#[repr(u8)]pub enum ControlCode {
Show 61 variants
Null = 0,
StartOfHeading = 1,
StartOfText = 2,
EndOfText = 3,
EndOfTransmission = 4,
Enquiry = 5,
Acknowledge = 6,
Bell = 7,
Backspace = 8,
HorizontalTab = 9,
LineFeed = 10,
VerticalTab = 11,
FormFeed = 12,
CarriageReturn = 13,
ShiftOut = 14,
ShiftIn = 15,
DataLinkEscape = 16,
DeviceControlOne = 17,
DeviceControlTwo = 18,
DeviceControlThree = 19,
DeviceControlFour = 20,
NegativeAcknowledge = 21,
SynchronousIdle = 22,
EndOfTransmissionBlock = 23,
Cancel = 24,
EndOfMedium = 25,
Substitute = 26,
Escape = 27,
FileSeparator = 28,
GroupSeparator = 29,
RecordSeparator = 30,
UnitSeparator = 31,
BPH = 130,
NBH = 131,
IND = 132,
NEL = 133,
SSA = 134,
ESA = 135,
HTS = 136,
HTJ = 137,
VTS = 138,
PLD = 139,
PLU = 140,
RI = 141,
SS2 = 142,
SS3 = 143,
DCS = 144,
PU1 = 145,
PU2 = 146,
STS = 147,
CCH = 148,
MW = 149,
SPA = 150,
EPA = 151,
SOS = 152,
SCI = 154,
CSI = 155,
ST = 156,
OSC = 157,
PM = 158,
APC = 159,
}Expand description
C0 or C1 control codes
Variants§
Null = 0
StartOfHeading = 1
StartOfText = 2
EndOfText = 3
EndOfTransmission = 4
Enquiry = 5
Acknowledge = 6
Bell = 7
Backspace = 8
HorizontalTab = 9
LineFeed = 10
VerticalTab = 11
FormFeed = 12
CarriageReturn = 13
ShiftOut = 14
ShiftIn = 15
DataLinkEscape = 16
DeviceControlOne = 17
DeviceControlTwo = 18
DeviceControlThree = 19
DeviceControlFour = 20
NegativeAcknowledge = 21
SynchronousIdle = 22
EndOfTransmissionBlock = 23
Cancel = 24
EndOfMedium = 25
Substitute = 26
Escape = 27
FileSeparator = 28
GroupSeparator = 29
RecordSeparator = 30
UnitSeparator = 31
BPH = 130
NBH = 131
IND = 132
NEL = 133
SSA = 134
ESA = 135
HTS = 136
HTJ = 137
VTS = 138
PLD = 139
PLU = 140
RI = 141
SS2 = 142
SS3 = 143
DCS = 144
PU1 = 145
PU2 = 146
STS = 147
CCH = 148
MW = 149
SPA = 150
EPA = 151
SOS = 152
SCI = 154
CSI = 155
ST = 156
OSC = 157
PM = 158
APC = 159
Trait Implementations§
Source§impl Clone for ControlCode
impl Clone for ControlCode
Source§fn clone(&self) -> ControlCode
fn clone(&self) -> ControlCode
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 ControlCode
impl Debug for ControlCode
Source§impl FromPrimitive for ControlCode
impl FromPrimitive for ControlCode
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl PartialEq for ControlCode
impl PartialEq for ControlCode
impl Copy for ControlCode
impl Eq for ControlCode
impl StructuralPartialEq for ControlCode
Auto Trait Implementations§
impl Freeze for ControlCode
impl RefUnwindSafe for ControlCode
impl Send for ControlCode
impl Sync for ControlCode
impl Unpin for ControlCode
impl UnwindSafe for ControlCode
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