Struct wasmedge_sdk::ImportObject
source · pub struct ImportObject(_);
Expand description
Defines an import object that contains the required import data used when instantiating a module.
An ImportObject instance is created with ImportObjectBuilder.
Implementations§
source§impl ImportObject
impl ImportObject
sourcepub fn as_raw_ptr(&self) -> *const WasmEdge_ModuleInstanceContext
pub fn as_raw_ptr(&self) -> *const WasmEdge_ModuleInstanceContext
Returns the raw pointer to the inner WasmEdge_ModuleInstanceContext
.
Trait Implementations§
source§impl Clone for ImportObject
impl Clone for ImportObject
source§fn clone(&self) -> ImportObject
fn clone(&self) -> ImportObject
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more