Trait soroban_wasmi::AsContext
source · pub trait AsContext {
type Data;
// Required method
fn as_context(&self) -> StoreContext<'_, Self::Data>;
}
Expand description
A trait used to get shared access to a Store
in Wasmi.
Required Associated Types§
Required Methods§
sourcefn as_context(&self) -> StoreContext<'_, Self::Data>
fn as_context(&self) -> StoreContext<'_, Self::Data>
Returns the store context that this type provides access to.