reth_revm::interpreter::opcode

Function update_boxed_instruction

pub fn update_boxed_instruction<'a, H, F>(
    instruction: &mut Box<dyn Fn(&mut Interpreter, &mut H) + 'a>,
    f: F,
)
where H: Host + 'a + ?Sized, F: Fn(&(dyn Fn(&mut Interpreter, &mut H) + 'a), &mut Interpreter, &mut H) + 'a,
Expand description

Updates a boxed instruction with a new one.