pub fn insert_func(&mut self, name: &str, jobs: Vec<Job>, params: Option<usize>) {
        let func = Function {
            name: name.to_string(),
            jobs: jobs,
            params: params,
        };
        self.funcs.insert(name.to_string(), func);
    }
/// Add a function to the shell internal storage.
Add a function to the shell internal storage.
Add a function to the shell internal storage .
pub fn insert_func(&mut self, name: &str, jobs: Vec<Job>, params: Option<usize>) {
        let func = Function {
            name: name.to_string(),
            jobs: jobs,
            params: params,
        };
        self.funcs.insert(name.to_string(), func);
    }
pub fn insert_func ( & mut self , name : & str , jobs : Vec < Job > , params : Option < usize > ) { let func = Function { name : name . to_string ( ) , jobs : jobs , params : params , } ; self . funcs . insert ( name . to_string ( ) , func ) ; }
Add a function to the shell internal storage.
Add a function to the shell internal storage .
&mut self
name
&str
jobs
Vec<Job>
params
Option<usize>