wasm_encoder::reencode::utils

Function ref_type

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