Struct wasmi_validation::func::FunctionValidationContext
source · 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§
source§impl<'a> FunctionValidationContext<'a>
impl<'a> FunctionValidationContext<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for FunctionValidationContext<'a>
impl<'a> Send for FunctionValidationContext<'a>
impl<'a> Sync for FunctionValidationContext<'a>
impl<'a> Unpin for FunctionValidationContext<'a>
impl<'a> UnwindSafe for FunctionValidationContext<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more