pub struct ModuleVmctxInfo {
pub memory_offset: i64,
pub vmctx_size: i64,
pub stack_slot_offsets: PrimaryMap<DefinedFuncIndex, Vec<Option<i32>>>,
}
Expand description
Information about the module and VM context.
Fields§
§memory_offset: i64
Offset from the VMCtx where a pointer to memory can be found.
Assume memory 0 for now.
vmctx_size: i64
The size of the VMCtx struct
stack_slot_offsets: PrimaryMap<DefinedFuncIndex, Vec<Option<i32>>>
The offsets of the stack slots for each function.
Implementations§
Auto Trait Implementations§
impl Freeze for ModuleVmctxInfo
impl RefUnwindSafe for ModuleVmctxInfo
impl Send for ModuleVmctxInfo
impl Sync for ModuleVmctxInfo
impl Unpin for ModuleVmctxInfo
impl UnwindSafe for ModuleVmctxInfo
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