Struct wasmedge_sys::ImportType
source · pub struct ImportType<'module> { /* private fields */ }
Expand description
Defines the types of the imported wasm value.
Implementations§
source§impl<'module> ImportType<'module>
impl<'module> ImportType<'module>
sourcepub fn name(&self) -> Cow<'_, str>
pub fn name(&self) -> Cow<'_, str>
Returns the field name of the module that this import is expected to come from.
sourcepub fn module_name(&self) -> Cow<'_, str>
pub fn module_name(&self) -> Cow<'_, str>
Returns the module name that this import is expected to come from.
sourcepub fn as_ptr(&self) -> *const WasmEdge_ImportTypeContext
pub fn as_ptr(&self) -> *const WasmEdge_ImportTypeContext
Provides a raw pointer to the inner ImportType context.