Function 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.