wasm_encoder::reencode::utils

Function val_type

source
pub fn val_type<T: ?Sized + Reencode>(
    reencoder: &mut T,
    val_ty: ValType,
) -> Result<ValType, Error<T::Error>>
Available on crate feature wasmparser only.