MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Element

Method Element

tabletype.go:73–76  ·  view source on GitHub ↗

Element returns the type of value stored in this table

()

Source from the content-addressed store, hash-verified

71
72// Element returns the type of value stored in this table
73func (ty *TableType) Element() *ValType {
74 ptr := C.wasm_tabletype_element(ty.ptr())
75 return mkValType(ptr, ty.owner())
76}
77
78// Minimum returns the minimum size, in elements, of this table.
79func (ty *TableType) Minimum() uint32 {

Callers 4

TestTableTypeFunction · 0.95
TestInstanceFunction · 0.80
TestModuleImportsFunction · 0.80
TestModuleExportsFunction · 0.80

Calls 3

ptrMethod · 0.95
ownerMethod · 0.95
mkValTypeFunction · 0.85

Tested by 4

TestTableTypeFunction · 0.76
TestInstanceFunction · 0.64
TestModuleImportsFunction · 0.64
TestModuleExportsFunction · 0.64