wasmer/utils/
mod.rs

1//! Useful data types, functions and traits used throughout the crate to interact with WebAssembly
2//! entities such as [`crate::Memory`] and [`crate::Value`].
3
4/// Convert bynary data into [`bytes::Bytes`].
5mod into_bytes;
6pub use into_bytes::IntoBytes;
7
8/// Useful data types, functions and traits for the interaction between host types and WebAssembly.
9pub(crate) mod native;
10pub use native::*;
11
12/// Useful data types, functions and traits for interacting with the memory of a [`crate::Instance`].
13pub(crate) mod mem;
14pub use mem::*;
15
16/// Useful macros to generate enums to represent `Runtime`-types.
17pub(crate) mod rt_macros;
18
19#[cfg(any(feature = "wasm-types-polyfill", feature = "jsc"))]
20pub(crate) mod polyfill;
21
22pub(crate) mod macros;