revm_interpreter/
instruction_context.rs1use crate::{Interpreter, InterpreterTypes};
2
3pub struct InstructionContext<'a, H: ?Sized, ITy: InterpreterTypes> {
7 pub interpreter: &'a mut Interpreter<ITy>,
9 pub host: &'a mut H,
11}
12
13impl<H: ?Sized, ITy: InterpreterTypes> std::fmt::Debug for InstructionContext<'_, H, ITy> {
14 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
15 f.debug_struct("InstructionContext")
16 .field("host", &"<host>")
17 .field("interpreter", &"<interpreter>")
18 .finish()
19 }
20}