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 for ExternalInstanceType
impl PartialEq 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 ==
.impl Eq for ExternalInstanceType
impl StructuralEq for ExternalInstanceType
impl StructuralPartialEq for ExternalInstanceType
Auto Trait Implementations§
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