wasm_encoder::reencode::component_utils

Function component_alias

Source
pub fn component_alias<'a, T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    alias: ComponentAlias<'a>,
) -> Result<Alias<'a>, Error<T::Error>>
Available on crate features component-model and wasmparser only.