(data_type: &NamedDataType)
| 61 | |
| 62 | impl From<&NamedDataType> for OrderedTypeId { |
| 63 | fn from(data_type: &NamedDataType) -> Self { |
| 64 | Self { |
| 65 | module_path: data_type.module_path().clone(), |
| 66 | name: data_type.name().clone(), |
| 67 | id: data_type.sid(), |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | impl TypeCollection { |