pub enum ExternalInstanceType {
Func(FuncType),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
}
Expand description
Defines the type of external WasmEdge instances.
Variants§
Func(FuncType)
A WasmEdge instance that is a WasmEdge Func.
Table(TableType)
A WasmEdge instance that is a WasmEdge Table.
Memory(MemoryType)
A WasmEdge instance that is a WasmEdge Memory.
Global(GlobalType)
A WasmEdge instance that is a WasmEdge Global.
Trait Implementations§
Source§impl Clone for ExternalInstanceType
impl Clone for ExternalInstanceType
Source§fn clone(&self) -> ExternalInstanceType
fn clone(&self) -> ExternalInstanceType
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 ExternalInstanceType
impl Debug for ExternalInstanceType
Source§impl Display for ExternalInstanceType
impl Display for ExternalInstanceType
Source§impl From<i32> for ExternalInstanceType
impl From<i32> for ExternalInstanceType
Source§fn from(value: i32) -> ExternalInstanceType
fn from(value: i32) -> ExternalInstanceType
Converts to this type from the input type.
Source§impl From<u32> for ExternalInstanceType
impl From<u32> for ExternalInstanceType
Source§fn from(value: u32) -> ExternalInstanceType
fn from(value: u32) -> ExternalInstanceType
Converts to this type from the input type.
Source§impl PartialEq for ExternalInstanceType
impl PartialEq for ExternalInstanceType
impl Eq for ExternalInstanceType
impl StructuralPartialEq for ExternalInstanceType
Auto Trait Implementations§
impl Freeze for ExternalInstanceType
impl RefUnwindSafe for ExternalInstanceType
impl Send for ExternalInstanceType
impl Sync for ExternalInstanceType
impl Unpin for ExternalInstanceType
impl UnwindSafe for ExternalInstanceType
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