Struct wasmedge_sdk::plugin::PluginModule
source · pub struct PluginModule(/* private fields */);
Expand description
Defines an import object that contains the required import data used when instantiating a module.
An PluginModule instance is created with PluginModuleBuilder.
Implementations§
source§impl PluginModule
impl PluginModule
sourcepub fn as_raw_ptr(&self) -> *const WasmEdge_ModuleInstanceContext
Available on crate feature ffi
only.
pub fn as_raw_ptr(&self) -> *const WasmEdge_ModuleInstanceContext
ffi
only.Returns the raw pointer to the inner WasmEdge_ModuleInstanceContext
.
Trait Implementations§
source§impl Clone for PluginModule
impl Clone for PluginModule
source§fn clone(&self) -> PluginModule
fn clone(&self) -> PluginModule
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PluginModule
impl Send for PluginModule
impl Sync for PluginModule
impl Unpin for PluginModule
impl !UnwindSafe for PluginModule
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more