wasm_encoder::reencode::utils

Function sub_type

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