Struct wasmtime_environ::wasmparser::ComponentArg
source · pub struct ComponentArg<'a> {
pub name: &'a str,
pub kind: ComponentArgKind,
}
Expand description
Represents an argument to instantiating a WebAssembly component.
Fields§
§name: &'a str
The name of the component argument.
kind: ComponentArgKind
The kind of the component argument.
Trait Implementations§
source§impl<'a> Clone for ComponentArg<'a>
impl<'a> Clone for ComponentArg<'a>
source§fn clone(&self) -> ComponentArg<'a>
fn clone(&self) -> ComponentArg<'a>
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