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§impl From<u32> for ExternalInstanceType
impl From<u32> for ExternalInstanceType
source§impl PartialEq<ExternalInstanceType> for ExternalInstanceType
impl PartialEq<ExternalInstanceType> for ExternalInstanceType
source§fn eq(&self, other: &ExternalInstanceType) -> bool
fn eq(&self, other: &ExternalInstanceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.