summaryrefslogtreecommitdiff
path: root/engine-ecs/src/sole.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ecs/src/sole.rs')
-rw-r--r--engine-ecs/src/sole.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine-ecs/src/sole.rs b/engine-ecs/src/sole.rs
index 568be3e..1430cc2 100644
--- a/engine-ecs/src/sole.rs
+++ b/engine-ecs/src/sole.rs
@@ -19,6 +19,9 @@ pub trait Sole: Any + ComponentWithAssociatedId + Into<ComponentParts>
/// Returns the name of this component.
fn name() -> Cow<'static, str>;
+
+ /// Returns the module path of this component.
+ fn module_path() -> &'static str;
}
/// Marker component for the entities of soles.