Skip to main content

JitArenaProvider

Trait JitArenaProvider 

Source
pub trait JitArenaProvider {
    // Required method
    fn jit_arena_mut(&mut self) -> &mut ArenaState;
}
Expand description

Lets the JIT host imports reach the per-store ArenaState through caller.data_mut(). Implemented by crate::instance::InstanceState and by test-only payload types.

Required Methods§

Source

fn jit_arena_mut(&mut self) -> &mut ArenaState

Borrow the per-store JIT arena mutably.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§