Crate marine_core
source ·Re-exports§
pub use crate::wasmtime::*;
Modules§
Macros§
- Call Wasm function that have Box<RefCell<Option<Func<’static, args, rets>>>> type.
- Initialize Wasm function in form of Box<RefCell<Option<Func<’static, args, rets>>>>. This macro does not cache result.
Structs§
- Represents the function argument type.
- Represents a record field type.
- Represents a record type.
- Represent a function type inside Marine module.
- Represent Marine module interface.
- Contains module name and a size of its linear memory in bytes. Please note that linear memory contains not only heap, but globals, shadow stack and so on. Although it doesn’t contain operand stack, additional runtime (Wasmer) structures, and some other stuff, that should be count separately.
Enums§
- Represents the types supported by WIT.
- A WIT value.
Constants§
Functions§
- Deserialize a set of
IValue
s to a typeT
that implements theDeserialize
trait. - Serialize a type
T
that implements theSerialize
trait to anIValue
.