Wasmer::Extern
Inherits Wasmer::WithExtern / Reference / Object
Extern is the runtime representation of an entity that can be imported or exported
Instance methods
kind
Sourceto_extern
Sourceto_function
Converts the Extern into a Function
If the Extern is not a Function, this method returns nil
to_global
Converts the Extern into a Global
If the Extern is not a Global, this method returns nil
to_memory
Converts the Extern into a Memory
If the Extern is not a Memory, this method returns nil
to_table
Converts the Extern into a Table
If the Extern is not a Table, this method returns nil
type
Source