diff options
Diffstat (limited to 'ecs/src/type_name.rs')
-rw-r--r-- | ecs/src/type_name.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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; +} |