wasm_wave::value

Function resolve_wit_type

Source
pub fn resolve_wit_type(
    resolve: &Resolve,
    type_id: TypeId,
) -> Result<Type, WasmValueError>
Expand description

Resolves a value::Type from the given wit_parser::Resolve and TypeId.

ยงPanics

Panics if type_id is not valid in resolve.