Expand description
Wap library allows you to write a web page app exclusively in Rust.
Macros§
- wap_
begin - Starting point from the boilerplait wap.js into the wasm. Takes a function pointer whos argument is a WapRc to JavaScripts global object.
Structs§
- WapRc
- Rc reference count to JavaScripts exclusive types; which get references stored internally and dropped when finished with WapRc.
- WapWeak
- Weak companion to WapRc
Enums§
- JsType
- The main data communication type in and out of function calls.
Functions§
- bound_
call - call
- delete
- get
- instanceof
- new_
construct - new_
object - new_
string - set
- shutdown⚠
- Unmaps the instance which will allow JS to GC it. WapRc are still safe to be dropped after calling this. So long as no refs are holding it elsewhere.
- wap_
alloc ⚠ - Not to be called directly. Used by js boilerplate.
- wap_
begin_ ⚠init - Not to be called directly. Used by wap_begin macro.
- webassembly_
instance