struct control_code [src]

The C0 control codes of the ASCII encoding. See also: https://en.wikipedia.org/wiki/C0_and_C1_control_codes and isControl

Members

Source

pub const control_code = struct { /// Null. pub const nul = 0x00; /// Start of Heading. pub const soh = 0x01; /// Start of Text. pub const stx = 0x02; /// End of Text. pub const etx = 0x03; /// End of Transmission. pub const eot = 0x04; /// Enquiry. pub const enq = 0x05; /// Acknowledge. pub const ack = 0x06; /// Bell, Alert. pub const bel = 0x07; /// Backspace. pub const bs = 0x08; /// Horizontal Tab, Tab ('\t'). pub const ht = 0x09; /// Line Feed, Newline ('\n'). pub const lf = 0x0A; /// Vertical Tab. pub const vt = 0x0B; /// Form Feed. pub const ff = 0x0C; /// Carriage Return ('\r'). pub const cr = 0x0D; /// Shift Out. pub const so = 0x0E; /// Shift In. pub const si = 0x0F; /// Data Link Escape. pub const dle = 0x10; /// Device Control One (XON). pub const dc1 = 0x11; /// Device Control Two. pub const dc2 = 0x12; /// Device Control Three (XOFF). pub const dc3 = 0x13; /// Device Control Four. pub const dc4 = 0x14; /// Negative Acknowledge. pub const nak = 0x15; /// Synchronous Idle. pub const syn = 0x16; /// End of Transmission Block pub const etb = 0x17; /// Cancel. pub const can = 0x18; /// End of Medium. pub const em = 0x19; /// Substitute. pub const sub = 0x1A; /// Escape. pub const esc = 0x1B; /// File Separator. pub const fs = 0x1C; /// Group Separator. pub const gs = 0x1D; /// Record Separator. pub const rs = 0x1E; /// Unit Separator. pub const us = 0x1F; /// Delete. pub const del = 0x7F; /// An alias to `dc1`. pub const xon = dc1; /// An alias to `dc3`. pub const xoff = dc3; }