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