Struct wasmtime_environ::wasmparser::ValidatorResources [−][src]
pub struct ValidatorResources(_);
Expand description
The implementation of WasmModuleResources
used by Validator
.
Trait Implementations
Returns the linear memory at given index.
pub fn tag_at(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
pub fn tag_at(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
Returns the tag at given index.
Returns the global variable at given index.
pub fn func_type_at(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
pub fn func_type_at(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
Returns the FuncType
associated with the given type index.
pub fn type_of_function(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
pub fn type_of_function(
&self,
at: u32
) -> Option<&<ValidatorResources as WasmModuleResources>::FuncType>
Returns the FuncType
associated with the given function index.
Returns the element type at the given index.
Returns the number of elements.
Returns the number of bytes in the Wasm data section.
Returns whether the function index is referenced in the module anywhere outside of the start/function sections. Read more