Trait InstructionProvider
pub trait InstructionProvider {
type Context;
type InterpreterTypes: InterpreterTypes;
// Required method
fn instruction_table(
&self,
) -> &[for<'a> fn(&'a mut Interpreter<Self::InterpreterTypes>, &'a mut Self::Context); 256];
}
Expand description
Stores instructions for EVM.
Required Associated Types§
type Context
type Context
Context type.
type InterpreterTypes: InterpreterTypes
type InterpreterTypes: InterpreterTypes
Interpreter types.
Required Methods§
fn instruction_table(
&self,
) -> &[for<'a> fn(&'a mut Interpreter<Self::InterpreterTypes>, &'a mut Self::Context); 256]
fn instruction_table( &self, ) -> &[for<'a> fn(&'a mut Interpreter<Self::InterpreterTypes>, &'a mut Self::Context); 256]
Returns the instruction table that is used by EvmTr to execute instructions.