pub trait PtrSize {
Show 32 methods
// Required method
fn size(&self) -> u8;
// Provided methods
fn vmcontext_store_context(&self) -> u8 { ... }
fn vmcontext_builtin_functions(&self) -> u8 { ... }
fn vm_func_ref_array_call(&self) -> u8 { ... }
fn vm_func_ref_wasm_call(&self) -> u8 { ... }
fn vm_func_ref_type_index(&self) -> u8 { ... }
fn vm_func_ref_vmctx(&self) -> u8 { ... }
fn size_of_vm_func_ref(&self) -> u8 { ... }
fn size_of_vmglobal_definition(&self) -> u8 { ... }
fn size_of_vmtag_definition(&self) -> u8 { ... }
fn vmstore_context_fuel_consumed(&self) -> u8 { ... }
fn vmstore_context_epoch_deadline(&self) -> u8 { ... }
fn vmstore_context_stack_limit(&self) -> u8 { ... }
fn vmstore_context_gc_heap(&self) -> u8 { ... }
fn vmstore_context_gc_heap_base(&self) -> u8 { ... }
fn vmstore_context_gc_heap_current_length(&self) -> u8 { ... }
fn vmstore_context_last_wasm_exit_fp(&self) -> u8 { ... }
fn vmstore_context_last_wasm_exit_pc(&self) -> u8 { ... }
fn vmstore_context_last_wasm_entry_fp(&self) -> u8 { ... }
fn vmmemory_definition_base(&self) -> u8 { ... }
fn vmmemory_definition_current_length(&self) -> u8 { ... }
fn size_of_vmmemory_definition(&self) -> u8 { ... }
fn size_of_vmmemory_pointer(&self) -> u8 { ... }
fn vmarray_call_host_func_context_func_ref(&self) -> u8 { ... }
fn vmctx_magic(&self) -> u8 { ... }
fn vmctx_store_context(&self) -> u8 { ... }
fn vmctx_builtin_functions(&self) -> u8 { ... }
fn vmctx_callee(&self) -> u8 { ... }
fn vmctx_epoch_ptr(&self) -> u8 { ... }
fn vmctx_gc_heap_data(&self) -> u8 { ... }
fn vmctx_type_ids_array(&self) -> u8 { ... }
fn vmctx_dynamic_data_start(&self) -> u8 { ... }
}Expand description
Trait used for the ptr representation of the field of VMOffsets
Required Methods§
Provided Methods§
Sourcefn vmcontext_store_context(&self) -> u8
fn vmcontext_store_context(&self) -> u8
The offset of the VMContext::store_context field
Sourcefn vmcontext_builtin_functions(&self) -> u8
fn vmcontext_builtin_functions(&self) -> u8
The offset of the VMContext::builtin_functions field
Sourcefn vm_func_ref_array_call(&self) -> u8
fn vm_func_ref_array_call(&self) -> u8
The offset of the array_call field.
Sourcefn vm_func_ref_wasm_call(&self) -> u8
fn vm_func_ref_wasm_call(&self) -> u8
The offset of the wasm_call field.
Sourcefn vm_func_ref_type_index(&self) -> u8
fn vm_func_ref_type_index(&self) -> u8
The offset of the type_index field.
Sourcefn vm_func_ref_vmctx(&self) -> u8
fn vm_func_ref_vmctx(&self) -> u8
The offset of the vmctx field.
Sourcefn size_of_vm_func_ref(&self) -> u8
fn size_of_vm_func_ref(&self) -> u8
Return the size of VMFuncRef.
Sourcefn size_of_vmglobal_definition(&self) -> u8
fn size_of_vmglobal_definition(&self) -> u8
Return the size of VMGlobalDefinition; this is the size of the largest value type (i.e. a
V128).
Sourcefn size_of_vmtag_definition(&self) -> u8
fn size_of_vmtag_definition(&self) -> u8
Return the size of VMTagDefinition.
Sourcefn vmstore_context_fuel_consumed(&self) -> u8
fn vmstore_context_fuel_consumed(&self) -> u8
Return the offset of the fuel_consumed field of VMStoreContext
Sourcefn vmstore_context_epoch_deadline(&self) -> u8
fn vmstore_context_epoch_deadline(&self) -> u8
Return the offset of the epoch_deadline field of VMStoreContext
Sourcefn vmstore_context_stack_limit(&self) -> u8
fn vmstore_context_stack_limit(&self) -> u8
Return the offset of the stack_limit field of VMStoreContext
Sourcefn vmstore_context_gc_heap(&self) -> u8
fn vmstore_context_gc_heap(&self) -> u8
Return the offset of the gc_heap field of VMStoreContext.
Sourcefn vmstore_context_gc_heap_base(&self) -> u8
fn vmstore_context_gc_heap_base(&self) -> u8
Return the offset of the gc_heap.base field within a VMStoreContext.
Sourcefn vmstore_context_gc_heap_current_length(&self) -> u8
fn vmstore_context_gc_heap_current_length(&self) -> u8
Return the offset of the gc_heap.current_length field within a VMStoreContext.
Sourcefn vmstore_context_last_wasm_exit_fp(&self) -> u8
fn vmstore_context_last_wasm_exit_fp(&self) -> u8
Return the offset of the last_wasm_exit_fp field of VMStoreContext.
Sourcefn vmstore_context_last_wasm_exit_pc(&self) -> u8
fn vmstore_context_last_wasm_exit_pc(&self) -> u8
Return the offset of the last_wasm_exit_pc field of VMStoreContext.
Sourcefn vmstore_context_last_wasm_entry_fp(&self) -> u8
fn vmstore_context_last_wasm_entry_fp(&self) -> u8
Return the offset of the last_wasm_entry_fp field of VMStoreContext.
Sourcefn vmmemory_definition_base(&self) -> u8
fn vmmemory_definition_base(&self) -> u8
The offset of the base field.
Sourcefn vmmemory_definition_current_length(&self) -> u8
fn vmmemory_definition_current_length(&self) -> u8
The offset of the current_length field.
Sourcefn size_of_vmmemory_definition(&self) -> u8
fn size_of_vmmemory_definition(&self) -> u8
Return the size of VMMemoryDefinition.
Sourcefn size_of_vmmemory_pointer(&self) -> u8
fn size_of_vmmemory_pointer(&self) -> u8
Return the size of *mut VMMemoryDefinition.
Sourcefn vmarray_call_host_func_context_func_ref(&self) -> u8
fn vmarray_call_host_func_context_func_ref(&self) -> u8
Return the offset of VMArrayCallHostFuncContext::func_ref.
Sourcefn vmctx_magic(&self) -> u8
fn vmctx_magic(&self) -> u8
Return the offset to the magic value in this VMContext.
Sourcefn vmctx_store_context(&self) -> u8
fn vmctx_store_context(&self) -> u8
Return the offset to the VMStoreContext structure
Sourcefn vmctx_builtin_functions(&self) -> u8
fn vmctx_builtin_functions(&self) -> u8
Return the offset to the VMBuiltinFunctionsArray structure
Sourcefn vmctx_callee(&self) -> u8
fn vmctx_callee(&self) -> u8
Return the offset to the callee member in this VMContext.
Sourcefn vmctx_epoch_ptr(&self) -> u8
fn vmctx_epoch_ptr(&self) -> u8
Return the offset to the *const AtomicU64 epoch-counter
pointer.
Sourcefn vmctx_gc_heap_data(&self) -> u8
fn vmctx_gc_heap_data(&self) -> u8
Return the offset to the *mut T collector-specific data.
This is a pointer that different collectors can use however they see fit.
Sourcefn vmctx_type_ids_array(&self) -> u8
fn vmctx_type_ids_array(&self) -> u8
The offset of the type_ids array pointer.
Sourcefn vmctx_dynamic_data_start(&self) -> u8
fn vmctx_dynamic_data_start(&self) -> u8
The end of statically known offsets in VMContext.
Data after this is dynamically sized.