wasm_encoder::reencode::utils

Function heap_type

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