wasm_encoder::reencode::component_utils

Function parse_component_canonical

Source
pub fn parse_component_canonical<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    section: &mut CanonicalFunctionSection,
    func: CanonicalFunction,
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.