Type Alias RawEvmCompilerFn

Source
pub type RawEvmCompilerFn = unsafe extern "C" fn(gas: *mut Gas, stack: *mut EvmStack, stack_len: *mut usize, env: *const Env, contract: *const Contract, ecx: *mut EvmContext<'_>) -> InstructionResult;
Expand description

The raw function signature of a bytecode function.

Prefer using EvmCompilerFn instead of this type. See EvmCompilerFn::call for more information.

Trait Implementations§

Source§

impl From<EvmCompilerFn> for RawEvmCompilerFn

Source§

fn from(f: EvmCompilerFn) -> Self

Converts to this type from the input type.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes