pub struct VMOffsetsFields<P> {Show 15 fields
pub ptr: P,
pub num_imported_functions: u32,
pub num_imported_tables: u32,
pub num_imported_memories: u32,
pub num_imported_globals: u32,
pub num_imported_tags: u32,
pub num_defined_tables: u32,
pub num_defined_memories: u32,
pub num_owned_memories: u32,
pub num_shadow_memories: u32,
pub num_defined_globals: u32,
pub num_defined_tags: u32,
pub num_escaped_funcs: u32,
pub num_runtime_data: u32,
pub has_startup_func: bool,
}Expand description
Used to construct a VMOffsets
Fields§
§ptr: PThe size in bytes of a pointer on the target.
num_imported_functions: u32The number of imported functions in the module.
num_imported_tables: u32The number of imported tables in the module.
num_imported_memories: u32The number of imported memories in the module.
num_imported_globals: u32The number of imported globals in the module.
The number of imported tags in the module.
num_defined_tables: u32The number of defined tables in the module.
num_defined_memories: u32The number of defined memories in the module.
num_owned_memories: u32The number of memories owned by the module instance.
num_shadow_memories: u32The number of shadow memory pointers: one per memory, imported and defined, if the module’s code checks memory shadows for watchpoints, and otherwise none.
num_defined_globals: u32The number of defined globals in the module.
The number of defined tags in the module.
num_escaped_funcs: u32The number of escaped functions in the module, the size of the function references array.
num_runtime_data: u32The number of runtime data segments in the module.
has_startup_func: boolWhether or not the module has a start function.