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
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more