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.