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.