pub enum ComponentArgKind {
Module(u32),
Component(u32),
Instance(u32),
Function(u32),
Value(u32),
Type(u32),
}
Expand description
Represents the kind of argument when instantiating a WebAssembly component.
Variants§
Module(u32)
The argument is a module.
Component(u32)
The argument is a component.
Instance(u32)
The argument is an instance.
Function(u32)
The argument is a function.
Value(u32)
The argument is a value.
Type(u32)
The argument is a type.
Trait Implementations§
source§impl Clone for ComponentArgKind
impl Clone for ComponentArgKind
source§fn clone(&self) -> ComponentArgKind
fn clone(&self) -> ComponentArgKind
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 more