Searched refs:insert (Results 1 – 4 of 4) sorted by relevance
/NovaShell/src/shell/command/ |
H A D | help.rs | 29 let mut insert = |tuple: (String, fn() -> ())| map.insert(tuple.0, tuple.1); in init() localVariable 31 insert(help!("cd", Self::shell_help_cd)); in init() 32 insert(help!("exec", Self::shell_help_exec)); in init()
|
H A D | mod.rs | 45 let mut insert = |tuple: (String, fn(&Vec<String>) -> Result<(), ExecuteErrorType>)| { in init() localVariable 46 map.insert(tuple.0, tuple.1) in init() 49 insert(build!("cd", Self::shell_cmd_cd)); in init() 50 insert(build!("exec", Self::shell_cmd_exec)); in init() 51 insert(build!("reboot", Self::shell_cmd_reboot)); in init() 52 insert(build!("help", Self::shell_cmd_help)); in init() 53 insert(build!("free", Self::shell_cmd_free)); in init() 54 insert(build!("export", Self::shell_cmd_export)); in init()
|
/NovaShell/src/shell/ |
H A D | mod.rs | 325 .insert(format!("{}{}", prefix, candidate).as_bytes()); in readline() 357 self.printer.insert(&[c]); in readline()
|
H A D | printer.rs | 50 pub fn insert(&mut self, bytes: &[u8]) { in insert() method
|