Home
last modified time | relevance | path

Searched refs:u8 (Results 1 – 5 of 5) sorted by relevance

/NovaShell/src/
H A Dkeycode.rs3 #[repr(u8)]
16 impl Into<u8> for SpecialKeycode {
17 fn into(self) -> u8 { in into() argument
18 self as u8 in into()
36 pub const SUFFIX_0: u8 = 0x5b;
37 pub fn bytes(self) -> &'static [u8] { in bytes() argument
49 pub fn try_from(value: &[u8]) -> Option<Self> { in try_from()
62 pub fn should_read_more(value: &[u8]) -> bool { in should_read_more()
72 impl Into<&[u8]> for FunctionKeySuffix {
73 fn into(self) -> &'static [u8] { in into() argument
H A Denv.rs35 let mut buf: Vec<u8> = Vec::new(); in read_env()
/NovaShell/src/shell/
H A Dprinter.rs18 pub buf: Rc<RefCell<Vec<u8>>>,
24 pub fn new(bytes: &Rc<RefCell<Vec<u8>>>) -> Self { in new()
50 pub fn insert(&mut self, bytes: &[u8]) { in insert() argument
146 pub fn change_line(&mut self, new_buf: &Rc<RefCell<Vec<u8>>>) { in change_line() argument
H A Dmod.rs32 history_commands: Vec<Rc<RefCell<Vec<u8>>>>,
114 fn exec_commands_in_line(&mut self, command_bytes: &Vec<u8>) { in exec_commands_in_line() argument
167 fn write_commands(&self, command_bytes: &Vec<u8>) { in write_commands() argument
177 fn read_char() -> u8 { in read_char()
178 let mut buf: [u8; 1] = [0]; in read_char()
/NovaShell/src/shell/command/
H A Dmod.rs186 let mut buf: Vec<u8> = Vec::new(); in shell_cmd_free()