Crate ark_module

Source
Expand description

§Ark module crate

This crate is used at the root level the for building Ark Wasm module binaries. It should not be depended on and used by library crates.

Also see the 🗺️ Ark Developer Guide

Modules§

applet
🎁 Applet module
audio
🎵 Audio module
behavior
🦹 Behavior module
cmdlet
⌨️ Cmdlet module
render
🌈 Render module

Macros§

impl_applet
Implement an applet module
impl_applet_persist
Implement an applet module that can have persistent state
impl_async_cmdlet
Implement an asynchronous cmdlet module
impl_audio_instance
Implement an audio source module.
impl_behavior_module
By passing a type that implements the BehaviorEntry trait, this macro will hook up and route the behavior module’s raw entry points to the trait methods.
impl_blocking_cmdlet
Implement a blocking cmdlet module
impl_render_module
Implement a render module
impl_wasi_cmdlet
Implement a WASI cmdlet module

Structs§

Runtime
Simple single-threaded futures runtime for Wasm

Functions§

init
Initialize the module