wasm_encoder::reencode::component_utils

Function parse_component_instance

Source
pub fn parse_component_instance<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    instances: &mut ComponentInstanceSection,
    instance: ComponentInstance<'_>,
) -> Result<(), Error<T::Error>>
Available on crate features component-model and wasmparser only.