pub fn type_to_param(
name: &str,
registry: &PortableRegistry,
type_id: u32,
) -> Result<Param, Error>Expand description
Converts a type’s metadata into a Param representation.
§Arguments
name: The name of the parameter.registry: Type registry containing all types used in the metadata.type_id: The ID of the type to be converted.