Trait wasmtime_environ::PtrSize
source · pub trait PtrSize {
Show 16 methods
fn size(&self) -> u8;
fn vmcaller_checked_anyfunc_func_ptr(&self) -> u8 { ... }
fn vmcaller_checked_anyfunc_type_index(&self) -> u8 { ... }
fn vmcaller_checked_anyfunc_vmctx(&self) -> u8 { ... }
fn size_of_vmcaller_checked_anyfunc(&self) -> u8 { ... }
fn size_of_vmglobal_definition(&self) -> u8 { ... }
fn vmruntime_limits_stack_limit(&self) -> u8 { ... }
fn vmruntime_limits_fuel_consumed(&self) -> u8 { ... }
fn vmruntime_limits_epoch_deadline(&self) -> u8 { ... }
fn vmruntime_limits_last_wasm_exit_fp(&self) -> u8 { ... }
fn vmruntime_limits_last_wasm_exit_pc(&self) -> u8 { ... }
fn vmruntime_limits_last_wasm_entry_sp(&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 { ... }
}Expand description
Trait used for the ptr representation of the field of VMOffsets
Required Methods§
Provided Methods§
sourcefn vmcaller_checked_anyfunc_func_ptr(&self) -> u8
fn vmcaller_checked_anyfunc_func_ptr(&self) -> u8
The offset of the func_ptr field.
sourcefn vmcaller_checked_anyfunc_type_index(&self) -> u8
fn vmcaller_checked_anyfunc_type_index(&self) -> u8
The offset of the type_index field.
sourcefn vmcaller_checked_anyfunc_vmctx(&self) -> u8
fn vmcaller_checked_anyfunc_vmctx(&self) -> u8
The offset of the vmctx field.
sourcefn size_of_vmcaller_checked_anyfunc(&self) -> u8
fn size_of_vmcaller_checked_anyfunc(&self) -> u8
Return the size of VMCallerCheckedAnyfunc.
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 vmruntime_limits_stack_limit(&self) -> u8
fn vmruntime_limits_stack_limit(&self) -> u8
Return the offset of the stack_limit field of VMRuntimeLimits
sourcefn vmruntime_limits_fuel_consumed(&self) -> u8
fn vmruntime_limits_fuel_consumed(&self) -> u8
Return the offset of the fuel_consumed field of VMRuntimeLimits
sourcefn vmruntime_limits_epoch_deadline(&self) -> u8
fn vmruntime_limits_epoch_deadline(&self) -> u8
Return the offset of the epoch_deadline field of VMRuntimeLimits
sourcefn vmruntime_limits_last_wasm_exit_fp(&self) -> u8
fn vmruntime_limits_last_wasm_exit_fp(&self) -> u8
Return the offset of the last_wasm_exit_fp field of VMRuntimeLimits.
sourcefn vmruntime_limits_last_wasm_exit_pc(&self) -> u8
fn vmruntime_limits_last_wasm_exit_pc(&self) -> u8
Return the offset of the last_wasm_exit_pc field of VMRuntimeLimits.
sourcefn vmruntime_limits_last_wasm_entry_sp(&self) -> u8
fn vmruntime_limits_last_wasm_entry_sp(&self) -> u8
Return the offset of the last_enty_sp field of VMRuntimeLimits.
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.