pub struct FunctionValidationContext<'a> {
    pub module: &'a ModuleContext,
    pub locals: Locals<'a>,
    pub value_stack: StackWithLimit<StackValueType>,
    pub frame_stack: StackWithLimit<BlockFrame>,
    pub return_type: BlockType,
}
Expand description

Function validation context.

Fields

module: &'a ModuleContext

Wasm module

locals: Locals<'a>

Local variables.

value_stack: StackWithLimit<StackValueType>

Value stack.

frame_stack: StackWithLimit<BlockFrame>

Frame stack.

return_type: BlockType

Function return type.

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.