wasm_encoder::reencode::utils

Function field_type

Source
pub fn field_type<T: ?Sized + Reencode>(
    reencoder: &mut T,
    field_ty: FieldType,
) -> Result<FieldType, Error<T::Error>>
Available on crate feature wasmparser only.