Struct wasmedge_sys::ffi::WasmEdge_ModuleDescriptor
source · #[repr(C)]pub struct WasmEdge_ModuleDescriptor {
pub Name: *const c_char,
pub Description: *const c_char,
pub Create: Option<unsafe extern "C" fn(arg1: *const WasmEdge_ModuleDescriptor) -> *mut WasmEdge_ModuleInstanceContext>,
}
Expand description
Module descriptor for plugins.
Fields§
§Name: *const c_char
§Description: *const c_char
§Create: Option<unsafe extern "C" fn(arg1: *const WasmEdge_ModuleDescriptor) -> *mut WasmEdge_ModuleInstanceContext>
Trait Implementations§
source§impl Clone for WasmEdge_ModuleDescriptor
impl Clone for WasmEdge_ModuleDescriptor
source§fn clone(&self) -> WasmEdge_ModuleDescriptor
fn clone(&self) -> WasmEdge_ModuleDescriptor
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 moresource§impl Debug for WasmEdge_ModuleDescriptor
impl Debug for WasmEdge_ModuleDescriptor
impl Copy for WasmEdge_ModuleDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for WasmEdge_ModuleDescriptor
impl !Send for WasmEdge_ModuleDescriptor
impl !Sync for WasmEdge_ModuleDescriptor
impl Unpin for WasmEdge_ModuleDescriptor
impl UnwindSafe for WasmEdge_ModuleDescriptor
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