Struct wasmedge_sys::ffi::WasmEdge_ProgramOption
source · #[repr(C)]pub struct WasmEdge_ProgramOption {
pub Name: *const c_char,
pub Description: *const c_char,
pub Type: WasmEdge_ProgramOptionType,
pub Storage: *mut c_void,
pub DefaultValue: *const c_void,
}
Expand description
Program option for plugins.
Fields§
§Name: *const c_char
§Description: *const c_char
§Type: WasmEdge_ProgramOptionType
§Storage: *mut c_void
§DefaultValue: *const c_void
Trait Implementations§
source§impl Clone for WasmEdge_ProgramOption
impl Clone for WasmEdge_ProgramOption
source§fn clone(&self) -> WasmEdge_ProgramOption
fn clone(&self) -> WasmEdge_ProgramOption
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_ProgramOption
impl Debug for WasmEdge_ProgramOption
impl Copy for WasmEdge_ProgramOption
Auto Trait Implementations§
impl RefUnwindSafe for WasmEdge_ProgramOption
impl !Send for WasmEdge_ProgramOption
impl !Sync for WasmEdge_ProgramOption
impl Unpin for WasmEdge_ProgramOption
impl UnwindSafe for WasmEdge_ProgramOption
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