wasm_encoder::reencode::component_utils

Function component_type

Source
pub fn component_type<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    ty: Box<[ComponentTypeDeclaration<'_>]>,
) -> Result<ComponentType, Error<T::Error>>