Function scale_typegen::utils::syn_type_path
source ยท pub fn syn_type_path(ty: &Type<PortableForm>) -> Result<TypePath, TypegenError>
Expand description
Converts a scale_info::Type
into a syn::TypePath
.
pub fn syn_type_path(ty: &Type<PortableForm>) -> Result<TypePath, TypegenError>
Converts a scale_info::Type
into a syn::TypePath
.