pub struct HostPtr;
Expand description

Type representing the size of a pointer for the current compilation host

Trait Implementations

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

The offset of the func_ptr field.

The offset of the type_index field.

The offset of the vmctx field.

Return the size of VMCallerCheckedAnyfunc.

Return the size of VMGlobalDefinition; this is the size of the largest value type (i.e. a V128). Read more

Return the offset of the stack_limit field of VMRuntimeLimits

Return the offset of the fuel_consumed field of VMRuntimeLimits

Return the offset of the epoch_deadline field of VMRuntimeLimits

Return the offset of the last_wasm_exit_fp field of VMRuntimeLimits.

Return the offset of the last_wasm_exit_pc field of VMRuntimeLimits.

source

fn vmruntime_limits_last_wasm_entry_sp(&self) -> u8

Return the offset of the last_enty_sp field of VMRuntimeLimits.

The offset of the base field.

The offset of the current_length field.

Return the size of VMMemoryDefinition.

Return the size of *mut VMMemoryDefinition.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.