MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / field_type

Method field_type

crates/wasmtime/src/runtime/types.rs:2218–2220  ·  view source on GitHub ↗

Get this array's underlying field type. The field type contains information about both this array type's mutability and the storage type used for its elements.

(&self)

Source from the content-addressed store, hash-verified

2216 /// The field type contains information about both this array type's
2217 /// mutability and the storage type used for its elements.
2218 pub fn field_type(&self) -> FieldType {
2219 FieldType::from_wasm_field_type(self.engine(), &self.as_wasm_array_type().0)
2220 }
2221
2222 /// Get this array type's mutability and whether its instances' elements can
2223 /// be updated or not.

Callers 4

fmtMethod · 0.80
field_tyMethod · 0.80
make_api_callsFunction · 0.80

Calls 2

as_wasm_array_typeMethod · 0.80
engineMethod · 0.45

Tested by

no test coverage detected