Trait wasm_encoder::AsComponentExternName
source · pub trait AsComponentExternName {
// Required method
fn as_component_extern_name(&self) -> ComponentExternName<'_>;
}
Expand description
Helper trait to convert into a ComponentExternName
either from that type
or from a string.
Required Methods§
sourcefn as_component_extern_name(&self) -> ComponentExternName<'_>
fn as_component_extern_name(&self) -> ComponentExternName<'_>
Converts this receiver into a ComponentExternName
.