Trait wasmtime_environ::PtrSize
source · pub trait PtrSize {
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 { ... }
}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.