class Wasmer::Extern

Overview

Extern is the runtime representation of an entity that can be imported or exported

Included Modules

Defined in:

wasmer/extern.cr

Instance Method Summary

Instance methods inherited from module Wasmer::WithExtern

to_extern : Extern to_extern

Instance Method Detail

def kind : ExternKind #

[View source]
def to_extern : Extern #

[View source]
def to_function : Function? #

Converts the Extern into a Function If the Extern is not a Function, this method returns nil


[View source]
def to_global : Global? #

Converts the Extern into a Global If the Extern is not a Global, this method returns nil


[View source]
def to_memory : Memory? #

Converts the Extern into a Memory If the Extern is not a Memory, this method returns nil


[View source]
def to_table : Table? #

Converts the Extern into a Table If the Extern is not a Table, this method returns nil


[View source]
def type : ExternType #

[View source]