Skip to main content

wasmedge_sdk/
instance.rs

1//! Defines WasmEdge Instance.
2use wasmedge_sys as sys;
3
4/// Represents an instantiated module.
5///
6/// An [Instance] represents an instantiated module. In the instantiation process, A [module instance](crate::Instance) is created based on a [compiled module](crate::Module). From a [module instance] the exported [host function](crate::Func), [table](crate::Table), [memory](crate::Memory), and [global](crate::Global) instances can be fetched.
7pub type Instance = sys::Instance;