Skip to main content

PtrSize

Trait PtrSize 

Source
pub trait PtrSize {
Show 70 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 maximum_value_size(&self) -> u8 { ... } fn vmstore_context_fuel_consumed(&self) -> u8 { ... } fn vmstore_context_epoch_deadline(&self) -> u8 { ... } fn vmstore_context_execution_version(&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_trampoline_fp(&self) -> u8 { ... } fn vmstore_context_last_wasm_exit_pc(&self) -> u8 { ... } fn vmstore_context_last_wasm_entry_sp(&self) -> u8 { ... } fn vmstore_context_last_wasm_entry_fp(&self) -> u8 { ... } fn vmstore_context_last_wasm_entry_trap_handler(&self) -> u8 { ... } fn vmstore_context_stack_chain(&self) -> u8 { ... } fn vmstore_context_store_data(&self) -> u8 { ... } fn vmstore_context_async_guard_range(&self) -> u8 { ... } fn vmstore_context_component_context_slot(&self, i: u8) -> 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 size_of_vmstack_chain(&self) -> u8 { ... } fn vmstack_limits_stack_limit(&self) -> u8 { ... } fn vmstack_limits_last_wasm_entry_fp(&self) -> u8 { ... } fn vmhostarray_length(&self) -> u8 { ... } fn vmhostarray_capacity(&self) -> u8 { ... } fn vmhostarray_data(&self) -> u8 { ... } fn size_of_vmhostarray(&self) -> u8 { ... } fn vmcommon_stack_information_limits(&self) -> u8 { ... } fn vmcommon_stack_information_state(&self) -> u8 { ... } fn vmcommon_stack_information_handlers(&self) -> u8 { ... } fn vmcommon_stack_information_first_switch_handler_index(&self) -> u8 { ... } fn size_of_vmcommon_stack_information(&self) -> u8 { ... } fn vmcontobj_contref(&self) -> u8 { ... } fn vmcontobj_revision(&self) -> u8 { ... } fn size_of_vmcontobj(&self) -> u8 { ... } fn vmcontref_common_stack_information(&self) -> u8 { ... } fn vmcontref_parent_chain(&self) -> u8 { ... } fn vmcontref_last_ancestor(&self) -> u8 { ... } fn vmcontref_revision(&self) -> u8 { ... } fn vmcontref_stack(&self) -> u8 { ... } fn vmcontref_args(&self) -> u8 { ... } fn vmcontref_values(&self) -> u8 { ... } fn vmctx_magic(&self) -> u8 { ... } fn vmctx_store_context(&self) -> u8 { ... } fn vmctx_builtin_functions(&self) -> u8 { ... } fn vmctx_epoch_ptr(&self) -> u8 { ... } fn vmctx_gc_heap_data(&self) -> u8 { ... } fn vmdrc_heap_data_over_approximated_stack_roots(&self) -> u8 { ... } fn vmdrc_heap_data_current_over_approximated_stack_roots_len(&self) -> u8 { ... } fn vmdrc_heap_data_over_approximated_stack_roots_len_after_last_gc( &self, ) -> u8 { ... } fn size_of_vmdrc_heap_data(&self) -> u8 { ... } fn align_of_vmdrc_heap_data(&self) -> u8 { ... } fn vmcopying_heap_data_bump_ptr(&self) -> u8 { ... } fn vmcopying_heap_data_active_space_end(&self) -> u8 { ... } fn size_of_vmcopying_heap_data(&self) -> u8 { ... } fn align_of_vmcopying_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§

Source

fn size(&self) -> u8

Returns the pointer size, in bytes, for the target.

Provided Methods§

Source

fn vmcontext_store_context(&self) -> u8

The offset of the VMContext::store_context field

Source

fn vmcontext_builtin_functions(&self) -> u8

The offset of the VMContext::builtin_functions field

Source

fn vm_func_ref_array_call(&self) -> u8

The offset of the array_call field.

Source

fn vm_func_ref_wasm_call(&self) -> u8

The offset of the wasm_call field.

Source

fn vm_func_ref_type_index(&self) -> u8

The offset of the type_index field.

Source

fn vm_func_ref_vmctx(&self) -> u8

The offset of the vmctx field.

Source

fn size_of_vm_func_ref(&self) -> u8

Return the size of VMFuncRef.

Source

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).

Source

fn size_of_vmtag_definition(&self) -> u8

Return the size of VMTagDefinition.

Source

fn maximum_value_size(&self) -> u8

This is the size of the largest value type (i.e. a V128).

Source

fn vmstore_context_fuel_consumed(&self) -> u8

Return the offset of the fuel_consumed field of VMStoreContext

Source

fn vmstore_context_epoch_deadline(&self) -> u8

Return the offset of the epoch_deadline field of VMStoreContext

Source

fn vmstore_context_execution_version(&self) -> u8

Return the offset of the execution_version field of VMStoreContext

Source

fn vmstore_context_stack_limit(&self) -> u8

Return the offset of the stack_limit field of VMStoreContext

Source

fn vmstore_context_gc_heap(&self) -> u8

Return the offset of the gc_heap field of VMStoreContext.

Source

fn vmstore_context_gc_heap_base(&self) -> u8

Return the offset of the gc_heap.base field within a VMStoreContext.

Source

fn vmstore_context_gc_heap_current_length(&self) -> u8

Return the offset of the gc_heap.current_length field within a VMStoreContext.

Source

fn vmstore_context_last_wasm_exit_trampoline_fp(&self) -> u8

Return the offset of the last_wasm_exit_trampoline_fp field of VMStoreContext.

Source

fn vmstore_context_last_wasm_exit_pc(&self) -> u8

Return the offset of the last_wasm_exit_pc field of VMStoreContext.

Source

fn vmstore_context_last_wasm_entry_sp(&self) -> u8

Return the offset of the last_wasm_entry_sp field of VMStoreContext.

Source

fn vmstore_context_last_wasm_entry_fp(&self) -> u8

Return the offset of the last_wasm_entry_fp field of VMStoreContext.

Source

fn vmstore_context_last_wasm_entry_trap_handler(&self) -> u8

Return the offset of the last_wasm_entry_trap_handler field of VMStoreContext.

Source

fn vmstore_context_stack_chain(&self) -> u8

Return the offset of the stack_chain field of VMStoreContext.

Source

fn vmstore_context_store_data(&self) -> u8

Return the offset of the stack_chain field of VMStoreContext.

Source

fn vmstore_context_async_guard_range(&self) -> u8

Return the offset of the async_guard_range field of VMStoreContext.

Source

fn vmstore_context_component_context_slot(&self, i: u8) -> u8

Return the offset of the component_context[i] field of VMStoreContext.

Source

fn vmmemory_definition_base(&self) -> u8

The offset of the base field.

Source

fn vmmemory_definition_current_length(&self) -> u8

The offset of the current_length field.

Source

fn size_of_vmmemory_definition(&self) -> u8

Return the size of VMMemoryDefinition.

Source

fn size_of_vmmemory_pointer(&self) -> u8

Return the size of *mut VMMemoryDefinition.

Source

fn vmarray_call_host_func_context_func_ref(&self) -> u8

Return the offset of VMArrayCallHostFuncContext::func_ref.

Source

fn size_of_vmstack_chain(&self) -> u8

Return the size of VMStackChain.

Source

fn vmstack_limits_stack_limit(&self) -> u8

Return the offset of VMStackLimits::stack_limit.

Source

fn vmstack_limits_last_wasm_entry_fp(&self) -> u8

Return the offset of VMStackLimits::last_wasm_entry_fp.

Source

fn vmhostarray_length(&self) -> u8

Return the offset of VMHostArray::length.

Source

fn vmhostarray_capacity(&self) -> u8

Return the offset of VMHostArray::capacity.

Source

fn vmhostarray_data(&self) -> u8

Return the offset of VMHostArray::data.

Source

fn size_of_vmhostarray(&self) -> u8

Return the size of VMHostArray.

Source

fn vmcommon_stack_information_limits(&self) -> u8

Return the offset of VMCommonStackInformation::limits.

Source

fn vmcommon_stack_information_state(&self) -> u8

Return the offset of VMCommonStackInformation::state.

Source

fn vmcommon_stack_information_handlers(&self) -> u8

Return the offset of VMCommonStackInformation::handlers.

Source

fn vmcommon_stack_information_first_switch_handler_index(&self) -> u8

Return the offset of VMCommonStackInformation::first_switch_handler_index.

Source

fn size_of_vmcommon_stack_information(&self) -> u8

Return the size of VMCommonStackInformation.

Source

fn vmcontobj_contref(&self) -> u8

Return the offset of VMContObj::contref

Source

fn vmcontobj_revision(&self) -> u8

Return the offset of VMContObj::revision

Source

fn size_of_vmcontobj(&self) -> u8

Return the size of VMContObj.

Source

fn vmcontref_common_stack_information(&self) -> u8

Return the offset of VMContRef::common_stack_information.

Source

fn vmcontref_parent_chain(&self) -> u8

Return the offset of VMContRef::parent_chain.

Source

fn vmcontref_last_ancestor(&self) -> u8

Return the offset of VMContRef::last_ancestor.

Source

fn vmcontref_revision(&self) -> u8

Return the offset of VMContRef::revision.

Source

fn vmcontref_stack(&self) -> u8

Return the offset of VMContRef::stack.

Source

fn vmcontref_args(&self) -> u8

Return the offset of VMContRef::args.

Source

fn vmcontref_values(&self) -> u8

Return the offset of VMContRef::values.

Source

fn vmctx_magic(&self) -> u8

Return the offset to the magic value in this VMContext.

Source

fn vmctx_store_context(&self) -> u8

Return the offset to the VMStoreContext structure

Source

fn vmctx_builtin_functions(&self) -> u8

Return the offset to the VMBuiltinFunctionsArray structure

Source

fn vmctx_epoch_ptr(&self) -> u8

Return the offset to the *const AtomicU64 epoch-counter pointer.

Source

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.

Source

fn vmdrc_heap_data_over_approximated_stack_roots(&self) -> u8

Return the offset of the over_approximated_stack_roots field within VMDrcHeapData.

Source

fn vmdrc_heap_data_current_over_approximated_stack_roots_len(&self) -> u8

Return the offset of the current_over_approximated_stack_roots_len field within VMDrcHeapData.

Source

fn vmdrc_heap_data_over_approximated_stack_roots_len_after_last_gc(&self) -> u8

Return the offset of the over_approximated_stack_roots_len_after_last_gc field within VMDrcHeapData.

Source

fn size_of_vmdrc_heap_data(&self) -> u8

Return the size of VMDrcHeapData.

Source

fn align_of_vmdrc_heap_data(&self) -> u8

Return the alignment of VMDrcHeapData.

Source

fn vmcopying_heap_data_bump_ptr(&self) -> u8

Return the offset of the bump_ptr field within VMCopyingHeapData.

Source

fn vmcopying_heap_data_active_space_end(&self) -> u8

Return the offset of the active_space_end field within VMCopyingHeapData.

Source

fn size_of_vmcopying_heap_data(&self) -> u8

Return the size of VMCopyingHeapData.

Source

fn align_of_vmcopying_heap_data(&self) -> u8

Return the alignment of VMCopyingHeapData.

Source

fn vmctx_type_ids_array(&self) -> u8

The offset of the type_ids array pointer.

Source

fn vmctx_dynamic_data_start(&self) -> u8

The end of statically known offsets in VMContext.

Data after this is dynamically sized.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl PtrSize for u8

Source§

fn size(&self) -> u8

Implementors§