Function make_boxed_instruction_table
pub fn make_boxed_instruction_table<'a, H, FN>(
table: &[fn(_: &mut Interpreter, _: &mut H); 256],
f: FN,
) -> [Box<dyn Fn(&mut Interpreter, &mut H) + 'a>; 256]where
H: Host + ?Sized,
FN: FnMut(fn(_: &mut Interpreter, _: &mut H)) -> Box<dyn Fn(&mut Interpreter, &mut H) + 'a>,
Expand description
Make boxed instruction table that calls f
closure for every instruction.