class Wasmer::Extern
- Wasmer::Extern
- Reference
- Object
Overview
Extern is the runtime representation of an entity that can be imported or exported
Included Modules
Defined in:
wasmer/extern.crInstance Method Summary
- #kind : ExternKind
- #to_extern : Extern
- #to_function : Function | Nil
- #to_global : Global | Nil
- #to_memory : Memory | Nil
-
#to_table : Table | Nil
Converts the Extern into a
Table
If the Extern is not aTable
, this method returns nil - #type : ExternType
Instance methods inherited from module Wasmer::WithExtern
to_extern : Extern
to_extern
Instance Method Detail
def to_table : Table | Nil
#
Converts the Extern into a Table
If the Extern is not a Table
, this method returns nil