wasm_encoder::reencode::utils

Function entity_type

Source
pub fn entity_type<T: ?Sized + Reencode>(
    reencoder: &mut T,
    type_ref: TypeRef,
) -> Result<EntityType, Error<T::Error>>
Available on crate feature wasmparser only.