From 61dfcf1ba2049bf0375821652e49b0e4c4147623 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 29 Mar 2024 14:20:21 +0100 Subject: feat(ecs): make World unwind safe --- ecs/src/type_name.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ecs/src/type_name.rs (limited to 'ecs/src/type_name.rs') diff --git a/ecs/src/type_name.rs b/ecs/src/type_name.rs new file mode 100644 index 0000000..5892c6f --- /dev/null +++ b/ecs/src/type_name.rs @@ -0,0 +1,5 @@ +pub trait TypeName +{ + /// Returns the name of this type. + fn type_name(&self) -> &'static str; +} -- cgit v1.2.3-18-g5258