Skip to main content

InterpreterTypes

Trait InterpreterTypes 

Source
pub trait InterpreterTypes {
    type Stack: StackTr;
    type Memory: MemoryTr;
    type Bytecode: Jumps + Immediates + LoopControl + LegacyBytecode;
    type ReturnData: ReturnData;
    type Input: InputsTr;
    type RuntimeFlag: RuntimeFlag;
    type Extend;
    type Output;
}
Expand description

Trait defining the component types used by an interpreter implementation.

Required Associated Types§

Source

type Stack: StackTr

Stack implementation type.

Source

type Memory: MemoryTr

Memory implementation type.

Source

type Bytecode: Jumps + Immediates + LoopControl + LegacyBytecode

Bytecode implementation type.

Source

type ReturnData: ReturnData

Return data implementation type.

Source

type Input: InputsTr

Input data implementation type.

Source

type RuntimeFlag: RuntimeFlag

Runtime flags implementation type.

Source

type Extend

Extended functionality type.

Source

type Output

Output type for execution results.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§