This commit is contained in:
KCaverly
2023-10-31 10:04:04 -04:00
parent 8d0905e479
commit efce38fce2
5 changed files with 32 additions and 26 deletions
+5
View File
@@ -164,6 +164,11 @@ impl AnyModel {
self.entity_id
}
// todo!() added for populating `ProjectItemBuilders` in `load_path` method
pub fn type_id(&self) -> TypeId {
self.entity_type
}
pub fn downgrade(&self) -> AnyWeakModel {
AnyWeakModel {
entity_id: self.entity_id,