Struct libflo_std::FuncMapper
[−]
[src]
pub struct FuncMapper { /* fields omitted */ }
Methods
impl FuncMapper
[src]
fn new(
func_map: Vec<Option<HashMap<String, usize, RandomState>>>,
func_list: Vec<Box<Func + 'static>>
) -> FuncMapper
func_map: Vec<Option<HashMap<String, usize, RandomState>>>,
func_list: Vec<Box<Func + 'static>>
) -> FuncMapper
fn get(&self, func_id: usize) -> Result<&Func, Error>
fn get_id<TStr>(
&self,
module_id: usize,
func_name: TStr
) -> Result<usize, Error> where
TStr: AsRef<str>,
&self,
module_id: usize,
func_name: TStr
) -> Result<usize, Error> where
TStr: AsRef<str>,